aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-02-18 10:27:18 +0100
committerHans Nilsson <[email protected]>2019-02-18 10:27:18 +0100
commite25fe1d35209d321a512091018a78ee9b7cc0b64 (patch)
treecd271b2826cdd1c31f7299f36095a48ba49aafcb
parentd6d2aa5933512977bce54013221bcd7b33765f0b (diff)
parent3d2bdebe6b60d7ea11132eb3df2950a19b061add (diff)
downloadotp-e25fe1d35209d321a512091018a78ee9b7cc0b64.tar.gz
otp-e25fe1d35209d321a512091018a78ee9b7cc0b64.tar.bz2
otp-e25fe1d35209d321a512091018a78ee9b7cc0b64.zip
Merge branch 'hans/crypto/cuddle_tests' into maint
* hans/crypto/cuddle_tests: crypto: Fix of engine_SUITE:engine_list test case
-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 8a45fc9076..869db516b4 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),