]> granicus.if.org Git - curl/commitdiff
Trying GnuTLS and OpenSSL together fails to compile in not so
authorGisle Vanem <gvanem@broadpark.no>
Mon, 14 Jan 2008 16:51:32 +0000 (16:51 +0000)
committerGisle Vanem <gvanem@broadpark.no>
Mon, 14 Jan 2008 16:51:32 +0000 (16:51 +0000)
obvious ways. Give an explicit error.

lib/urldata.h

index e918cd61d026485f0c119380347f5dd50ce60e29..e9e4fb87265502558035be86f522b8ebfc9327b1 100644 (file)
@@ -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