point out that RAND_load_file() etc are only for seed files, not for
authorUlf Möller <ulf@openssl.org>
Thu, 8 Feb 2001 17:22:56 +0000 (17:22 +0000)
committerUlf Möller <ulf@openssl.org>
Thu, 8 Feb 2001 17:22:56 +0000 (17:22 +0000)
entropy devices or sockets.

crypto/rand/randfile.c

index 528e410f74009e82ccb922801d4bf316a5a90685..fe4f2a9a211e95fa835c566e5ba196cc52ca43d1 100644 (file)
@@ -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.