really fix automatic ;-)
authorDr. Stephen Henson <steve@openssl.org>
Fri, 7 Dec 2012 12:41:13 +0000 (12:41 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 7 Dec 2012 12:41:13 +0000 (12:41 +0000)
ssl/ssl_conf.c

index 940d5a8..437f385 100644 (file)
@@ -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)