aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2019-02-14 10:11:03 +0100
committerHans Nilsson <[email protected]>2019-02-18 10:26:38 +0100
commit3d2bdebe6b60d7ea11132eb3df2950a19b061add (patch)
treecd271b2826cdd1c31f7299f36095a48ba49aafcb
parentd6d2aa5933512977bce54013221bcd7b33765f0b (diff)
downloadotp-3d2bdebe6b60d7ea11132eb3df2950a19b061add.tar.gz
otp-3d2bdebe6b60d7ea11132eb3df2950a19b061add.tar.bz2
otp-3d2bdebe6b60d7ea11132eb3df2950a19b061add.zip
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),