aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_handshake_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2018-07-02 15:37:56 +0200
committerIngela Anderton Andin <[email protected]>2018-07-02 16:02:20 +0200
commitebc10f445fc4ddda90c2e0888baf310a9370cb33 (patch)
tree8f015d0a8d6db85530ee602c8606137c8293ac7e /lib/ssl/test/ssl_handshake_SUITE.erl
parent40ab3958644be3fc14682c54233514fdf880386a (diff)
downloadotp-ebc10f445fc4ddda90c2e0888baf310a9370cb33.tar.gz
otp-ebc10f445fc4ddda90c2e0888baf310a9370cb33.tar.bz2
otp-ebc10f445fc4ddda90c2e0888baf310a9370cb33.zip
ssl: Correct handling of empty server SNI extension
Diffstat (limited to 'lib/ssl/test/ssl_handshake_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_handshake_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_handshake_SUITE.erl b/lib/ssl/test/ssl_handshake_SUITE.erl
index 9658cb5f56..c492c54066 100644
--- a/lib/ssl/test/ssl_handshake_SUITE.erl
+++ b/lib/ssl/test/ssl_handshake_SUITE.erl
@@ -157,7 +157,7 @@ decode_single_hello_sni_extension_correctly(_Config) ->
Exts = Decoded.
decode_empty_server_sni_correctly(_Config) ->
- Exts = #hello_extensions{sni = ""},
+ Exts = #hello_extensions{sni = #sni{hostname = ""}},
SNI = <<?UINT16(?SNI_EXT),?UINT16(0)>>,
Decoded = ssl_handshake:decode_hello_extensions(SNI),
Exts = Decoded.