From: Dr. Stephen Henson Date: Fri, 7 Dec 2012 12:41:13 +0000 (+0000) Subject: really fix automatic ;-) X-Git-Tag: master-post-reformat~1537 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1edf8f1b4eae8da94e07b6390a733e25a66ef48b;p=oweals%2Fopenssl.git really fix automatic ;-) --- diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index 940d5a88dd..437f385f05 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -274,7 +274,7 @@ static int cmd_ecdhparam(SSL_CONF_CTX *cctx, const char *value) } if (!strcasecmp(value, "automatic")) { - if (onoff != -1) + if (onoff == -1) onoff = 1; } else if (onoff != -1)