Merge pull request #296 from tickelton/fix_disable-ssl

Fix build with --disable-ssl
This commit is contained in:
Luka Krajger 2015-05-02 16:37:53 +02:00
commit 170704671c

View file

@ -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,