mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Set the kex modes on the client too.
Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/2259)
This commit is contained in:
parent
0247086d9a
commit
b3ad72ce1d
@ -516,6 +516,8 @@ int tls_construct_ctos_psk_kex_modes(SSL *s, WPACKET *pkt, X509 *x,
|
||||
SSLerr(SSL_F_TLS_CONSTRUCT_CTOS_PSK_KEX_MODES, ERR_R_INTERNAL_ERROR);
|
||||
return 0;
|
||||
}
|
||||
|
||||
s->ext.psk_kex_mode = TLSEXT_KEX_MODE_FLAG_KE | TLSEXT_KEX_MODE_FLAG_KE_DHE;
|
||||
#endif
|
||||
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user