diff options
author | Ulf Möller <ulf@openssl.org> | 2000-01-16 15:58:17 +0000 |
---|---|---|
committer | Ulf Möller <ulf@openssl.org> | 2000-01-16 15:58:17 +0000 |
commit | 373b575f5a7b509bbadd67b1d57eef57dd23357a (patch) | |
tree | 67e1b8d65bdf6a1968754b194ad98123c28a7aae /apps | |
parent | e1798f856d00bd5317c6eebda00ef8e51d14b1de (diff) | |
download | openssl-373b575f5a7b509bbadd67b1d57eef57dd23357a.tar.gz |
New function RAND_pseudo_bytes() generated pseudorandom numbers that
are not guaranteed to be unpredictable.
Diffstat (limited to 'apps')
-rw-r--r-- | apps/speed.c | 4 |
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++) { |