diff options
author | Ingela Anderton Andin <[email protected]> | 2016-04-29 09:00:03 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-04-29 12:26:18 +0200 |
commit | 2608cf7a3abeb7ee194dd376b6b72b250a396aac (patch) | |
tree | 77e6dfe8fa19ffaaf8397690a35ecb38d0852a8f /lib/ssl/test | |
parent | fea24ae8d37b33e97ef1897d0d3b6cdb2338c051 (diff) | |
download | otp-2608cf7a3abeb7ee194dd376b6b72b250a396aac.tar.gz otp-2608cf7a3abeb7ee194dd376b6b72b250a396aac.tar.bz2 otp-2608cf7a3abeb7ee194dd376b6b72b250a396aac.zip |
ssl: Correct cipher suites conversion
Correct conversion errors form commit d2381e1a8d7cd54f7dc0a5105d172460b005a8fb
Please enter the commit message for your changes. Lines starting
Diffstat (limited to 'lib/ssl/test')
-rw-r--r-- | lib/ssl/test/ssl_basic_SUITE.erl | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lib/ssl/test/ssl_basic_SUITE.erl b/lib/ssl/test/ssl_basic_SUITE.erl index 585975c64c..89cdd40b4c 100644 --- a/lib/ssl/test/ssl_basic_SUITE.erl +++ b/lib/ssl/test/ssl_basic_SUITE.erl @@ -88,7 +88,8 @@ basic_tests() -> connect_dist, clear_pem_cache, defaults, - fallback + fallback, + cipher_format ]. options_tests() -> @@ -762,6 +763,14 @@ fallback(Config) when is_list(Config) -> Client, {error,{tls_alert,"inappropriate fallback"}}). %%-------------------------------------------------------------------- +cipher_format() -> + [{doc, "Test that cipher conversion from tuples to binarys works"}]. +cipher_format(Config) when is_list(Config) -> + {ok, Socket} = ssl:listen(0, [{ciphers, ssl:cipher_suites()}]), + ssl:close(Socket). + +%%-------------------------------------------------------------------- + peername() -> [{doc,"Test API function peername/1"}]. |