aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src
diff options
context:
space:
mode:
authorGuilherme Andrade <[email protected]>2017-03-22 21:50:20 +0000
committerGuilherme Andrade <[email protected]>2017-03-22 21:50:58 +0000
commit54b89c8750bed431275f1f376fb10ec7899ca335 (patch)
treee1aa1eddfb9317fe0fa8c0b4d3aa3e9bf1e8d70e /lib/stdlib/src
parent6f6c478401eefee1c8d7b200eb02d288739a7648 (diff)
downloadotp-54b89c8750bed431275f1f376fb10ec7899ca335.tar.gz
otp-54b89c8750bed431275f1f376fb10ec7899ca335.tar.bz2
otp-54b89c8750bed431275f1f376fb10ec7899ca335.zip
fixup! Support cryptographically strong rand plugin
Fix plugin alg type
Diffstat (limited to 'lib/stdlib/src')
-rw-r--r--lib/stdlib/src/rand.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stdlib/src/rand.erl b/lib/stdlib/src/rand.erl
index 3ff7aaf15f..ddd22914e2 100644
--- a/lib/stdlib/src/rand.erl
+++ b/lib/stdlib/src/rand.erl
@@ -58,7 +58,7 @@
%% Algorithm state
-type state() :: {alg_handler(), alg_seed()}.
-type builtin_alg() :: exs64 | exsplus | exs1024.
--type alg() :: builtin_alg() | term().
+-type alg() :: builtin_alg() | atom().
-type export_state() :: {alg(), alg_seed()}.
-export_type([builtin_alg/0, alg/0, alg_handler/0, alg_seed/0, state/0, export_state/0]).