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:
0247086
)
Set the kex modes on the client too.
author
Matt Caswell
<matt@openssl.org>
Thu, 19 Jan 2017 10:07:50 +0000
(10:07 +0000)
committer
Matt Caswell
<matt@openssl.org>
Mon, 30 Jan 2017 10:18:21 +0000
(10:18 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/2259)
ssl/statem/extensions_clnt.c
patch
|
blob
|
history
diff --git
a/ssl/statem/extensions_clnt.c
b/ssl/statem/extensions_clnt.c
index 8c663320e1503b3931f45dcb9da4713c98cb55b8..1e6eddf37334f0b4f7c3b484a46279f0e481eeb0 100644
(file)
--- a/
ssl/statem/extensions_clnt.c
+++ b/
ssl/statem/extensions_clnt.c
@@
-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;