aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPéter Dimitrov <[email protected]>2019-04-02 16:24:04 +0200
committerPéter Dimitrov <[email protected]>2019-04-02 16:24:04 +0200
commitb51f61b5f32a28737d0b03a29f19f48f38e4db19 (patch)
tree1f418d3c38ff71ddec4f2b25b396f6639ae38139
parenta37d352c7babb925a8f5aa040e8f36b24f2667e1 (diff)
parentdbc74d75e851305660414e93d061efbb6eab87d2 (diff)
downloadotp-b51f61b5f32a28737d0b03a29f19f48f38e4db19.tar.gz
otp-b51f61b5f32a28737d0b03a29f19f48f38e4db19.tar.bz2
otp-b51f61b5f32a28737d0b03a29f19f48f38e4db19.zip
Merge branch 'peterdmv/ssl/fix-key-share-decoding'
* peterdmv/ssl/fix-key-share-decoding: ssl: Fix decoding of the key_share extension Change-Id: I2b772bb1e50b841f9154206b1170330d51c7ba94
-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{