aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorIngela Anderton Andin <[email protected]>2013-03-13 11:01:41 +0100
committerIngela Anderton Andin <[email protected]>2013-03-13 11:01:41 +0100
commite4b753fe32946d7c998d7af6a19c40e01f69ce75 (patch)
treeaaa8778a9266405a61ac185f0b8164edfe778381 /lib
parent57a33a31ca0fcb385dd899f4074310d0fbdefda4 (diff)
downloadotp-e4b753fe32946d7c998d7af6a19c40e01f69ce75.tar.gz
otp-e4b753fe32946d7c998d7af6a19c40e01f69ce75.tar.bz2
otp-e4b753fe32946d7c998d7af6a19c40e01f69ce75.zip
ssl: Add missing configuration in test case
Diffstat (limited to 'lib')
-rw-r--r--lib/ssl/test/ssl_to_openssl_SUITE.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ssl/test/ssl_to_openssl_SUITE.erl b/lib/ssl/test/ssl_to_openssl_SUITE.erl
index 4f53132d5d..a3d382f837 100644
--- a/lib/ssl/test/ssl_to_openssl_SUITE.erl
+++ b/lib/ssl/test/ssl_to_openssl_SUITE.erl
@@ -1202,8 +1202,8 @@ start_erlang_server_and_openssl_client_with_opts(Config, ErlangServerOpts, OpenS
{mfa, {?MODULE, erlang_ssl_receive, [Data]}},
{options, ServerOpts}]),
Port = ssl_test_lib:inet_port(Server),
-
- Cmd = "openssl s_client " ++ OpenSSLClientOpts ++ " -msg -port " ++ integer_to_list(Port) ++
+ Version = ssl_record:protocol_version(ssl_record:highest_protocol_version([])),
+ Cmd = "openssl s_client " ++ OpenSSLClientOpts ++ " -msg -port " ++ integer_to_list(Port) ++ version_flag(Version) ++
" -host localhost",
ct:print("openssl cmd: ~p~n", [Cmd]),