diff options
author | Péter Dimitrov <peterdmv@erlang.org> | 2019-09-18 16:25:33 +0200 |
---|---|---|
committer | Péter Dimitrov <peterdmv@erlang.org> | 2019-10-04 14:58:32 +0200 |
commit | 893476cc8f4b7a271f626d7923ac976c4379b05a (patch) | |
tree | 1baef46521c44f1a57dfab6336db56ffb6ff741c /lib/ssl/src/dtls_handshake.erl | |
parent | ce101d2017bf9df56c977b6574107b33c3c22bb9 (diff) | |
download | erlang-893476cc8f4b7a271f626d7923ac976c4379b05a.tar.gz |
ssl: Add pre_shared_key, psk_key_exchange_modes to CH
Implement option use_ticket to enable sending a ClientHello with
empty pre_shared_key and psk_key_exchange_modes extensions.
Diffstat (limited to 'lib/ssl/src/dtls_handshake.erl')
-rw-r--r-- | lib/ssl/src/dtls_handshake.erl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ssl/src/dtls_handshake.erl b/lib/ssl/src/dtls_handshake.erl index 8be14816ad..bf31b22d67 100644 --- a/lib/ssl/src/dtls_handshake.erl +++ b/lib/ssl/src/dtls_handshake.erl @@ -78,7 +78,9 @@ client_hello(_Host, _Port, Cookie, ConnectionStates, Extensions = ssl_handshake:client_hello_extensions(TLSVersion, CipherSuites, SslOpts, ConnectionStates, - Renegotiation, undefined), + Renegotiation, undefined, + undefined, undefined), + #client_hello{session_id = Id, client_version = Version, cipher_suites = |