projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75b8124
)
Return 1 when setting ECDH auto mode.
author
Dr. Stephen Henson
<steve@openssl.org>
Sat, 17 Aug 2013 13:21:54 +0000
(14:21 +0100)
committer
Dr. Stephen Henson
<steve@openssl.org>
Sun, 18 Aug 2013 12:53:00 +0000
(13:53 +0100)
(cherry picked from commit
42082eda6f3d64ce87184d65c4eae06d677e971c
)
ssl/s3_lib.c
patch
|
blob
|
history
diff --git
a/ssl/s3_lib.c
b/ssl/s3_lib.c
index 9c2843b316e40912cc97a0154c63c1771bb53791..6f2c6f4fbcfe34197f21781c5c0e3d24c75272e1 100644
(file)
--- a/
ssl/s3_lib.c
+++ b/
ssl/s3_lib.c
@@
-3438,7
+3438,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);
@@
-3823,7
+3823,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);