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 940d5a88ddcf8dbd4c581e4b0790d5a86d4026a3..437f385f054597b14b8b7ecb7aa81b7be1376945 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)