diff options
author | Hans Nilsson <[email protected]> | 2018-11-30 14:53:56 +0100 |
---|---|---|
committer | Hans Nilsson <[email protected]> | 2018-11-30 14:53:56 +0100 |
commit | 8ca061c3006ad69c2a8d1c835d0d678438966dfc (patch) | |
tree | 7733b02d291d44b66120acbe1baad612006aebe6 /lib/ssh | |
parent | ae799c9de1b24d7def2a84172a5740ac9a5d6595 (diff) | |
parent | 8756194c4c33d724d00aaa706175693575c9990d (diff) | |
download | otp-8ca061c3006ad69c2a8d1c835d0d678438966dfc.tar.gz otp-8ca061c3006ad69c2a8d1c835d0d678438966dfc.tar.bz2 otp-8ca061c3006ad69c2a8d1c835d0d678438966dfc.zip |
Merge branch 'maint'
* maint:
crypto: Split function in otp_test_engine
crypto: Update test engine with fake rsa support
Correct typo in logger formatter docs
Diffstat (limited to 'lib/ssh')
-rw-r--r-- | lib/ssh/test/ssh_engine_SUITE.erl | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/ssh/test/ssh_engine_SUITE.erl b/lib/ssh/test/ssh_engine_SUITE.erl index c2e6ac1fee..3adb23acdb 100644 --- a/lib/ssh/test/ssh_engine_SUITE.erl +++ b/lib/ssh/test/ssh_engine_SUITE.erl @@ -126,10 +126,17 @@ simple_connect(Config) -> load_engine() -> case crypto:get_test_engine() of {ok, Engine} -> - try crypto:engine_load(<<"dynamic">>, + try + %% The test engine has it's own fake rsa sign/verify that + %% you don't want to use, so exclude it from methods to load: + Methods = + crypto:engine_get_all_methods() -- [engine_method_rsa], + crypto:engine_load(<<"dynamic">>, [{<<"SO_PATH">>, Engine}, <<"LOAD">>], - []) + [], + Methods + ) catch error:notsup -> {error, notsup} |