From bcc3c9279a562326dd7aafc25676ded99e796665 Mon Sep 17 00:00:00 2001 From: Gisle Vanem Date: Mon, 14 Jan 2008 16:51:32 +0000 Subject: [PATCH] Trying GnuTLS and OpenSSL together fails to compile in not so obvious ways. Give an explicit error. --- lib/urldata.h | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.49.0