From: Gisle Vanem Date: Mon, 14 Jan 2008 16:51:32 +0000 (+0000) Subject: Trying GnuTLS and OpenSSL together fails to compile in not so X-Git-Tag: curl-7_18_0~66 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcc3c9279a562326dd7aafc25676ded99e796665;p=thirdparty%2Fcurl.git Trying GnuTLS and OpenSSL together fails to compile in not so obvious ways. Give an explicit error. --- diff --git a/lib/urldata.h b/lib/urldata.h index e918cd61d0..e9e4fb8726 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