mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Return 1 when setting ECDH auto mode.
This commit is contained in:
parent
5ef24a806d
commit
42082eda6f
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user