aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorGisle Vanem <gvanem@broadpark.no>2008-01-14 16:51:32 +0000
committerGisle Vanem <gvanem@broadpark.no>2008-01-14 16:51:32 +0000
commitbcc3c9279a562326dd7aafc25676ded99e796665 (patch)
treed22679f7068c1e642968148072360ae8b37c6733 /lib/urldata.h
parent5d63404966c0d77bb2b2789e7b04eb43469c3ca2 (diff)
Trying GnuTLS and OpenSSL together fails to compile in not so
obvious ways. Give an explicit error.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
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