diff options
author | Sverker Eriksson <[email protected]> | 2011-03-28 16:38:57 +0200 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2011-03-28 19:08:49 +0200 |
commit | b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf (patch) | |
tree | 65e17f5ad014584b327ac49dcf47e37f05f87d4b /lib/asn1/test/testSSLspecs.erl | |
parent | c50f179a15ad8c8bcbc7a71101a9ca23f19f6e8f (diff) | |
download | otp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.tar.gz otp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.tar.bz2 otp-b52a2170d13fe7ff6e4e3b146b63d8f68c2aaadf.zip |
Improve algorithm in module random.
Avoid seed values that are even divisors of the primes
and by that prevent getting seeds that are stuck on zero.
Example: random:seed(0,0,0) would produce a series of only zeros.
Diffstat (limited to 'lib/asn1/test/testSSLspecs.erl')
0 files changed, 0 insertions, 0 deletions