diff options
author | Hans Nilsson <[email protected]> | 2019-03-04 10:17:14 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2019-03-04 10:17:14 +0100 |
commit | 75a5b52d4c02329acf055aa94d11469768b7eb8a (patch) | |
tree | 024c43aedc8b78aba7eedd5a9cc765d6411ade2a /lib | |
parent | cc12aeb0ce4a9444aba199f6d145ef525de268a9 (diff) | |
download | otp-75a5b52d4c02329acf055aa94d11469768b7eb8a.tar.gz otp-75a5b52d4c02329acf055aa94d11469768b7eb8a.tar.bz2 otp-75a5b52d4c02329acf055aa94d11469768b7eb8a.zip |
crypto: Filter test case ciphers for supported ones
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ssh/test/ssh_protocol_SUITE.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ssh/test/ssh_protocol_SUITE.erl b/lib/ssh/test/ssh_protocol_SUITE.erl index 3e3e151781..b12ddfeef6 100644 --- a/lib/ssh/test/ssh_protocol_SUITE.erl +++ b/lib/ssh/test/ssh_protocol_SUITE.erl @@ -38,7 +38,11 @@ -define(EXTRA_KEX, 'diffie-hellman-group1-sha1'). -define(CIPHERS, ['aes256-ctr','aes192-ctr','aes128-ctr','aes128-cbc','3des-cbc']). --define(DEFAULT_CIPHERS, [{client2server,?CIPHERS}, {server2client,?CIPHERS}]). +-define(DEFAULT_CIPHERS, (fun() -> Ciphs = filter_supported(cipher, ?CIPHERS), + [{client2server,Ciphs}, {server2client,Ciphs}] + end)() + ). + -define(v(Key, Config), proplists:get_value(Key, Config)). -define(v(Key, Config, Default), proplists:get_value(Key, Config, Default)). |