aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-03-05 17:25:02 +0100
committerHans Nilsson <[email protected]>2019-03-05 17:25:02 +0100
commite7ece9449c8fe386c3c01a58eb6b516b3a65d83b (patch)
tree35b14a3534ad7c9920aec448dc082df59af628d5
parentd18d49447d19f5b4d67ce672e18ab8be22ba8fb1 (diff)
parent75a5b52d4c02329acf055aa94d11469768b7eb8a (diff)
downloadotp-e7ece9449c8fe386c3c01a58eb6b516b3a65d83b.tar.gz
otp-e7ece9449c8fe386c3c01a58eb6b516b3a65d83b.tar.bz2
otp-e7ece9449c8fe386c3c01a58eb6b516b3a65d83b.zip
Merge branch 'hans/ssh/cuddle_tests'
* hans/ssh/cuddle_tests: crypto: Filter test case ciphers for supported ones
-rw-r--r--lib/ssh/test/ssh_protocol_SUITE.erl6
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)).