Fix possible missing symbols

This commit is contained in:
emanuele-f 2017-10-03 16:50:43 +02:00
parent 4b2d6c8af6
commit 3e5ab4e99a

View file

@ -4753,6 +4753,12 @@ static int set_ssl_option(struct mg_context *ctx) {
{
#ifndef SSL_OP_NO_TLSv1
#define SSL_OP_NO_TLSv1 0x04000000L
#endif
#ifndef SSL_OP_NO_SSLv2
#define SSL_OP_NO_SSLv2 0x01000000L
#endif
#ifndef SSL_OP_NO_SSLv3
#define SSL_OP_NO_SSLv3 0x02000000L
#endif
long opts = SSL_CTX_get_options(ctx->ssl_ctx);