mirror of
https://github.com/curl/curl.git
synced 2025-02-11 14:50:40 +08:00
Trying GnuTLS and OpenSSL together fails to compile in not so
obvious ways. Give an explicit error.
This commit is contained in:
parent
5d63404966
commit
bcc3c9279a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user