diff options
author | Gisle Vanem <gvanem@broadpark.no> | 2008-01-14 16:51:32 +0000 |
---|---|---|
committer | Gisle Vanem <gvanem@broadpark.no> | 2008-01-14 16:51:32 +0000 |
commit | bcc3c9279a562326dd7aafc25676ded99e796665 (patch) | |
tree | d22679f7068c1e642968148072360ae8b37c6733 | |
parent | 5d63404966c0d77bb2b2789e7b04eb43469c3ca2 (diff) |
Trying GnuTLS and OpenSSL together fails to compile in not so
obvious ways. Give an explicit error.
-rw-r--r-- | lib/urldata.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index e918cd61d..e9e4fb872 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -73,6 +73,9 @@ #include "ssl.h" #include "err.h" #endif /* USE_OPENSSL */ +#ifdef USE_GNUTLS +#error Configuration error; cannot use GnuTLS *and* OpenSSL. +#endif #endif /* USE_SSLEAY */ #ifdef USE_GNUTLS |