Trying GnuTLS and OpenSSL together fails to compile in not so

obvious ways. Give an explicit error.
This commit is contained in:
Gisle Vanem 2008-01-14 16:51:32 +00:00
parent 5d63404966
commit bcc3c9279a
1 changed files with 3 additions and 0 deletions

View 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