diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2013-08-17 14:21:54 +0100 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2013-08-17 17:41:13 +0100 |
commit | 42082eda6f3d64ce87184d65c4eae06d677e971c (patch) | |
tree | 7353c9e64865694a7c7df5b9ad48b86c97ae5a95 /ssl | |
parent | 5ef24a806d0c74920fbfbb930c40f460a62688bd (diff) |
Return 1 when setting ECDH auto mode.
Diffstat (limited to 'ssl')
-rw-r--r-- | ssl/s3_lib.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_lib.c b/ssl/s3_lib.c index 98a7621508..65131358eb 100644 --- a/ssl/s3_lib.c +++ b/ssl/s3_lib.c @@ -3469,7 +3469,7 @@ long ssl3_ctrl(SSL *s, int cmd, long larg, void *parg) case SSL_CTRL_SET_ECDH_AUTO: s->cert->ecdh_tmp_auto = larg; - break; + return 1; case SSL_CTRL_SET_SIGALGS: return tls1_set_sigalgs(s->cert, parg, larg, 0); @@ -3859,7 +3859,7 @@ long ssl3_ctx_ctrl(SSL_CTX *ctx, int cmd, long larg, void *parg) parg); case SSL_CTRL_SET_ECDH_AUTO: ctx->cert->ecdh_tmp_auto = larg; - break; + return 1; case SSL_CTRL_SET_SIGALGS: return tls1_set_sigalgs(ctx->cert, parg, larg, 0); |