Commit bcc3c927 authored by Gisle Vanem's avatar Gisle Vanem
Browse files

Trying GnuTLS and OpenSSL together fails to compile in not so

obvious ways. Give an explicit error.
parent 5d634049
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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