Trying GnuTLS and OpenSSL together fails to compile in not so
obvious ways. Give an explicit error.
This commit is contained in:
@@ -73,6 +73,9 @@
|
|||||||
#include "ssl.h"
|
#include "ssl.h"
|
||||||
#include "err.h"
|
#include "err.h"
|
||||||
#endif /* USE_OPENSSL */
|
#endif /* USE_OPENSSL */
|
||||||
|
#ifdef USE_GNUTLS
|
||||||
|
#error Configuration error; cannot use GnuTLS *and* OpenSSL.
|
||||||
|
#endif
|
||||||
#endif /* USE_SSLEAY */
|
#endif /* USE_SSLEAY */
|
||||||
|
|
||||||
#ifdef USE_GNUTLS
|
#ifdef USE_GNUTLS
|
||||||
|
|||||||
Reference in New Issue
Block a user