Precautions against using the PRNG uninitialized: RAND_bytes() now
authorUlf Möller <ulf@openssl.org>
Thu, 13 Jan 2000 20:59:17 +0000 (20:59 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 13 Jan 2000 20:59:17 +0000 (20:59 +0000)
commiteb952088f0d5da59e569ae2aa33e9b96bc3b586d
tree1d722a423148a6b568a1e6d42f01943aed6cfb2a
parent22e219d90f1ea5d3b2f4abb72c846a436ea33eff
Precautions against using the PRNG uninitialized: RAND_bytes() now
returns int (1 = ok, 0 = not seeded). New function RAND_add() is the
same as RAND_seed() but takes an estimate of the entropy as an additional
argument.
29 files changed:
CHANGES
crypto/bn/bn_prime.c
crypto/bn/bn_rand.c
crypto/err/err.c
crypto/err/err.h
crypto/err/err_all.c
crypto/err/openssl.ec
crypto/evp/evp_pkey.c
crypto/evp/p_seal.c
crypto/pem/pem_lib.c
crypto/pkcs7/pk7_doit.c
crypto/rand/Makefile.ssl
crypto/rand/md_rand.c
crypto/rand/rand.h
crypto/rand/rand_err.c [new file with mode: 0644]
crypto/rand/rand_lib.c
crypto/rand/randfile.c
crypto/rsa/rsa_oaep.c
crypto/rsa/rsa_pk1.c
crypto/rsa/rsa_ssl.c
crypto/x509/x509_err.c
ssl/s23_clnt.c
ssl/s23_srvr.c
ssl/s2_clnt.c
ssl/s2_srvr.c
ssl/s3_clnt.c
ssl/s3_srvr.c
ssl/ssl.h
ssl/ssl_err.c