aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssl/test/ssl_handshake_SUITE.erl
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2016-05-03 12:07:51 +0200
committerIngela Anderton Andin <[email protected]>2016-06-03 12:14:43 +0200
commit33afe108de9cf24be47b9ebd740a8f5e19daca79 (patch)
tree000f6b30068d5e696197c53b8cf4053602daab29 /lib/ssl/test/ssl_handshake_SUITE.erl
parentf7e370a7513c93ae74eb7861d094589990958aa7 (diff)
downloadotp-33afe108de9cf24be47b9ebd740a8f5e19daca79.tar.gz
otp-33afe108de9cf24be47b9ebd740a8f5e19daca79.tar.bz2
otp-33afe108de9cf24be47b9ebd740a8f5e19daca79.zip
ssl: Add option to phase out support for sslv2 client hello
ssl servers can recognize sslv2 client hellos to interop with clients that support higher version of SSL/TLS but also offers sslv2 Conflicts: lib/ssl/src/tls_connection.erl
Diffstat (limited to 'lib/ssl/test/ssl_handshake_SUITE.erl')
-rw-r--r--lib/ssl/test/ssl_handshake_SUITE.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_handshake_SUITE.erl b/lib/ssl/test/ssl_handshake_SUITE.erl
index 26e83413c1..a671e3e307 100644
--- a/lib/ssl/test/ssl_handshake_SUITE.erl
+++ b/lib/ssl/test/ssl_handshake_SUITE.erl
@@ -99,7 +99,8 @@ decode_hello_handshake(_Config) ->
16#70, 16#64, 16#79, 16#2f, 16#32>>,
Version = {3, 0},
- {Records, _Buffer} = tls_handshake:get_tls_handshake(Version, HelloPacket, <<>>),
+ {Records, _Buffer} = tls_handshake:get_tls_handshake(Version, HelloPacket, <<>>,
+ #ssl_options{v2_hello_compatible = false}),
{Hello, _Data} = hd(Records),
#renegotiation_info{renegotiated_connection = <<0>>}