diff options
author | Ingela Anderton Andin <[email protected]> | 2016-04-22 10:21:08 +0200 |
---|---|---|
committer | Ingela Anderton Andin <[email protected]> | 2016-04-25 11:42:05 +0200 |
commit | e0cbc54261fb72668c48d89f69cab5d323c7f72f (patch) | |
tree | fd78442c391c11f49fe737cca3a90e52fa480931 /lib/compiler/test | |
parent | af05855ddc48ae72bb2cfd82ab3fd3ab45238135 (diff) | |
download | otp-e0cbc54261fb72668c48d89f69cab5d323c7f72f.tar.gz otp-e0cbc54261fb72668c48d89f69cab5d323c7f72f.tar.bz2 otp-e0cbc54261fb72668c48d89f69cab5d323c7f72f.zip |
compiler: Remove use of crypto:rand_bytes/1
Use case in compile.erl is cryptographical so use
crypto:strong_rand_bytes/1 instead.
Use case in test suite is not cryptographical so use
other test instead.
Diffstat (limited to 'lib/compiler/test')
-rw-r--r-- | lib/compiler/test/compile_SUITE.erl | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/compiler/test/compile_SUITE.erl b/lib/compiler/test/compile_SUITE.erl index 72e88370b6..f55ea9a3a6 100644 --- a/lib/compiler/test/compile_SUITE.erl +++ b/lib/compiler/test/compile_SUITE.erl @@ -546,7 +546,6 @@ verify_abstract(Target) -> has_crypto() -> try crypto:start(), - <<_,_,_,_,_>> = crypto:rand_bytes(5), crypto:stop(), true catch |