fix build with --disable-ssl
Commit b06b1f15ac
broke the configure option
"--disable-ssl" as the function sslMakeContext() was not enclosed in an
"#if defined(HAVE_OPENSSL)" statement.
This commit is contained in:
parent
8e09b8f2a6
commit
228dd0c69c
1 changed files with 1 additions and 1 deletions
|
@ -590,7 +590,6 @@ static int sslSetCertificateFromFile(SSL_CTX *context,
|
|||
int rc = sslSetCertificateFromFd(context, fd);
|
||||
return rc;
|
||||
}
|
||||
#endif
|
||||
|
||||
static SSL_CTX *sslMakeContext(void) {
|
||||
SSL_CTX *context;
|
||||
|
@ -617,6 +616,7 @@ static SSL_CTX *sslMakeContext(void) {
|
|||
check(SSL_CTX_set_cipher_list(context, "HIGH:MEDIUM:!aNULL:!MD5"));
|
||||
return context;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_TLSEXT
|
||||
static int sslSNICallback(SSL *sslHndl, int *al ATTR_UNUSED,
|
||||
|
|
Loading…
Reference in a new issue