]> git.ipfire.org Git - thirdparty/openssl.git/blame - CHANGES
Header for RAND_seed()
[thirdparty/openssl.git] / CHANGES
CommitLineData
651d0aff 1
f1c236f8 2 OpenSSL CHANGES
651d0aff
RE
3 _______________
4
d91e201e
RE
5 Changes between 0.9.4 and 0.9.5 [xx XXX 1999]
6
eb952088 7 *) Precautions against using the PRNG uninitialized: RAND_bytes() now
0983760d
BM
8 has a return value which indicates the quality of the random data
9 (1 = ok, 0 = not seeded). Also an error is recorded on the thread's
373b575f
UM
10 error queue. New function RAND_pseudo_bytes() generates output that is
11 guaranteed to be unique but not unpredictable.
0983760d 12 (TO DO: always check the result of RAND_bytes when it is used in the
373b575f
UM
13 library, or use RAND_pseudo_bytes instead, because leaving the
14 error in the error queue but reporting success in a function that
15 uses RAND_bytes could confuse things considerably.)
eb952088
UM
16