New function RAND_pseudo_bytes() generated pseudorandom numbers that

are not guaranteed to be unpredictable.
This commit is contained in:
Ulf Möller
2000-01-16 15:58:17 +00:00
parent e1798f856d
commit 373b575f5a
8 changed files with 37 additions and 9 deletions

View File

@@ -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;