projects
/
oweals
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use appropriate versions of SSL3_ENC_METHOD
[oweals/openssl.git]
/
ssl
/
ssl_conf.c
diff --git
a/ssl/ssl_conf.c
b/ssl/ssl_conf.c
index 23754739bb9720203a4eb20cf6ea58cbf9fffbf3..437f385f054597b14b8b7ecb7aa81b7be1376945 100644
(file)
--- a/
ssl/ssl_conf.c
+++ b/
ssl/ssl_conf.c
@@
-272,7
+272,12
@@
static int cmd_ecdhparam(SSL_CONF_CTX *cctx, const char *value)
onoff = 0;
value++;
}
- if (strcasecmp(value, "automatic"))
+ if (!strcasecmp(value, "automatic"))
+ {
+ if (onoff == -1)
+ onoff = 1;
+ }
+ else if (onoff != -1)
return 0;
}
else if (cctx->flags & SSL_CONF_FLAG_CMDLINE)