aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-02-18 10:28:06 +0100
committerHans Nilsson <[email protected]>2019-02-18 10:28:06 +0100
commitd89ac6959f8f5c9f8d4960f84e23e34e9da25323 (patch)
treeb21360b2bc3fc81d2478cd2c9d6bf06e469cdb5f /lib/crypto/test
parent45c2c2bb6b5ad7307155c97773a7b9b24f6ba486 (diff)
parente25fe1d35209d321a512091018a78ee9b7cc0b64 (diff)
downloadotp-d89ac6959f8f5c9f8d4960f84e23e34e9da25323.tar.gz
otp-d89ac6959f8f5c9f8d4960f84e23e34e9da25323.tar.bz2
otp-d89ac6959f8f5c9f8d4960f84e23e34e9da25323.zip
Merge branch 'maint'
* maint: crypto: Fix of engine_SUITE:engine_list test case
Diffstat (limited to 'lib/crypto/test')
-rw-r--r--lib/crypto/test/engine_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/test/engine_SUITE.erl b/lib/crypto/test/engine_SUITE.erl
index 2a89fa71a3..3416fbd78d 100644
--- a/lib/crypto/test/engine_SUITE.erl
+++ b/lib/crypto/test/engine_SUITE.erl
@@ -345,13 +345,13 @@ engine_list(Config) when is_list(Config) ->
{skip, "OTP Test engine not found"};
{ok, Engine} ->
try
- EngineList0 = crypto:engine_list(),
case crypto:engine_load(<<"dynamic">>,
[{<<"SO_PATH">>, Engine},
<<"LOAD">>],
[]) of
{ok, E} ->
EngineList0 = crypto:engine_list(),
+ false = lists:member(<<"MD5">>, EngineList0),
ok = crypto:engine_add(E),
[<<"MD5">>] = lists:subtract(crypto:engine_list(), EngineList0),
ok = crypto:engine_remove(E),