aboutsummaryrefslogtreecommitdiffstats
path: root/apps/speed.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 /apps/speed.c
parente1798f856d00bd5317c6eebda00ef8e51d14b1de (diff)
downloadopenssl-373b575f5a7b509bbadd67b1d57eef57dd23357a.tar.gz
New function RAND_pseudo_bytes() generated pseudorandom numbers that
are not guaranteed to be unpredictable.
Diffstat (limited to 'apps/speed.c')
-rw-r--r--apps/speed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/speed.c b/apps/speed.c
index b96733346b..59caa0db34 100644
--- a/apps/speed.c
+++ b/apps/speed.c
@@ -965,7 +965,7 @@ int MAIN(int argc, char **argv)
}
#endif
- RAND_bytes(buf,36);
+ RAND_pseudo_bytes(buf,36);
#ifndef NO_RSA
for (j=0; j<RSA_NUM; j++)
{
@@ -1026,7 +1026,7 @@ int MAIN(int argc, char **argv)
}
#endif
- RAND_bytes(buf,20);
+ RAND_pseudo_bytes(buf,20);
#ifndef NO_DSA
for (j=0; j<DSA_NUM; j++)
{