aboutsummaryrefslogtreecommitdiffstats
path: root/lib/crypto/test/crypto_SUITE.erl
diff options
context:
space:
mode:
authorLars Thorsen <[email protected]>2017-06-22 13:13:09 +0200
committerLars Thorsen <[email protected]>2017-11-10 10:24:31 +0100
commitb950289736287275307f1b5579d82c3bd2271db9 (patch)
treec28cee2d5f9c9f19fa82941ce4bebae6d1c780b4 /lib/crypto/test/crypto_SUITE.erl
parent4ab56cf93ca4824d087b10085dec5edf64c8be69 (diff)
downloadotp-b950289736287275307f1b5579d82c3bd2271db9.tar.gz
otp-b950289736287275307f1b5579d82c3bd2271db9.tar.bz2
otp-b950289736287275307f1b5579d82c3bd2271db9.zip
[crypto] Add support for loading an alternative Engine
Add support to plug in alternative implementations for some or all of the cryptographic operations supported by the OpenSSL Engine API. When configured appropriately, OpenSSL calls the engine's implementation of these operations instead of its own.
Diffstat (limited to 'lib/crypto/test/crypto_SUITE.erl')
-rw-r--r--lib/crypto/test/crypto_SUITE.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/crypto/test/crypto_SUITE.erl b/lib/crypto/test/crypto_SUITE.erl
index 69f02d3da6..6dab459df6 100644
--- a/lib/crypto/test/crypto_SUITE.erl
+++ b/lib/crypto/test/crypto_SUITE.erl
@@ -198,7 +198,7 @@ init_per_suite(Config) ->
%% This is NOT how you want to do seeding, it is just here
%% to make the tests pass. Check your OS manual for how you
%% really want to seed.
- {H,M,L} = erlang:now(),
+ {H,M,L} = erlang:timestamp(),
Bin = <<H:24,M:20,L:20>>,
crypto:rand_seed(<< <<Bin/binary>> || _ <- lists:seq(1,16) >>),
Config