From: Ulf Möller Date: Thu, 8 Feb 2001 17:22:56 +0000 (+0000) Subject: point out that RAND_load_file() etc are only for seed files, not for X-Git-Tag: OpenSSL_0_9_6a-beta1~48^2~19 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=928cc3a6de4606faece84ee1468a7ff2b7fc521e;p=oweals%2Fopenssl.git point out that RAND_load_file() etc are only for seed files, not for entropy devices or sockets. --- diff --git a/crypto/rand/randfile.c b/crypto/rand/randfile.c index 528e410f74..fe4f2a9a21 100644 --- a/crypto/rand/randfile.c +++ b/crypto/rand/randfile.c @@ -83,6 +83,9 @@ /* #define RFILE ".rnd" - defined in ../../e_os.h */ +/* Note that these functions are intended for seed files only. + * Entropy devices and EGD sockets are handled in rand_unix.c */ + int RAND_load_file(const char *file, long bytes) { /* If bytes >= 0, read up to 'bytes' bytes.