diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2012-11-21 17:01:46 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2012-11-21 17:01:46 +0000 |
commit | 2588d4ca413e18ae18ad7e4f53b0f07b8809f203 (patch) | |
tree | dcb10186aa639ddf481804a76c932ba0460e30d1 /ssl/ssl_conf.c | |
parent | 878b5d07efb0168a519273f77f5bad292c9c39b7 (diff) | |
download | openssl-2588d4ca413e18ae18ad7e4f53b0f07b8809f203.tar.gz |
curves can be set in both client and server
Diffstat (limited to 'ssl/ssl_conf.c')
-rw-r--r-- | ssl/ssl_conf.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ssl/ssl_conf.c b/ssl/ssl_conf.c index dc0a3f04e5..0de97f8a78 100644 --- a/ssl/ssl_conf.c +++ b/ssl/ssl_conf.c @@ -246,8 +246,6 @@ static int cmd_client_sigalgs(SSL_CONF_CTX *cctx, const char *value) static int cmd_curves(SSL_CONF_CTX *cctx, const char *value) { int rv; - if (!(cctx->flags & SSL_CONF_FLAG_CLIENT)) - return -2; if (cctx->ssl) rv = SSL_set1_curves_list(cctx->ssl, value); /* NB: ctx == NULL performs syntax checking only */ |