summaryrefslogtreecommitdiffstats
path: root/crypto/rand/randtest.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-01-16 15:58:17 +0000
committerUlf Möller <ulf@openssl.org>2000-01-16 15:58:17 +0000
commit373b575f5a7b509bbadd67b1d57eef57dd23357a (patch)
tree67e1b8d65bdf6a1968754b194ad98123c28a7aae /crypto/rand/randtest.c
parente1798f856d00bd5317c6eebda00ef8e51d14b1de (diff)
New function RAND_pseudo_bytes() generated pseudorandom numbers that
are not guaranteed to be unpredictable.
Diffstat (limited to 'crypto/rand/randtest.c')
-rw-r--r--crypto/rand/randtest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/rand/randtest.c b/crypto/rand/randtest.c
index f0706d779a..da96e3f695 100644
--- a/crypto/rand/randtest.c
+++ b/crypto/rand/randtest.c
@@ -73,7 +73,7 @@ int main()
/*double d; */
long d;
- RAND_bytes(buf,2500);
+ RAND_pseudo_bytes(buf,2500);
n1=0;
for (i=0; i<16; i++) n2[i]=0;