aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-01 13:35:51 +0200
committerPéter Dimitrov <[email protected]>2019-04-01 13:35:51 +0200
commitdbc74d75e851305660414e93d061efbb6eab87d2 (patch)
treeb9542999c80d136390f5c78de1d1b5ddea94d9ce /lib
parentbe44d6827e2374a43068b35de85ed16441c771be (diff)
downloadotp-dbc74d75e851305660414e93d061efbb6eab87d2.tar.gz
otp-dbc74d75e851305660414e93d061efbb6eab87d2.tar.bz2
otp-dbc74d75e851305660414e93d061efbb6eab87d2.zip
ssl: Fix decoding of the key_share extension
Change-Id: I4764b5f2172f000d13c267e9002789fa6e09c58c
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/src/ssl_handshake.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/src/ssl_handshake.erl b/lib/ssl/src/ssl_handshake.erl
index 6c95a7edf8..3a69c86e47 100644
--- a/lib/ssl/src/ssl_handshake.erl
+++ b/lib/ssl/src/ssl_handshake.erl
@@ -2421,7 +2421,7 @@ decode_extensions(<<?UINT16(?KEY_SHARE_EXT), ?UINT16(Len),
decode_extensions(<<?UINT16(?KEY_SHARE_EXT), ?UINT16(Len),
ExtData:Len/binary, Rest/binary>>,
Version, MessageType = hello_retry_request, Acc) ->
- <<?UINT16(Group),Rest/binary>> = ExtData,
+ <<?UINT16(Group)>> = ExtData,
decode_extensions(Rest, Version, MessageType,
Acc#{key_share =>
#key_share_hello_retry_request{