projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
466e424
)
point out that RAND_load_file() etc are only for seed files, not for
author
Ulf Möller
<ulf@openssl.org>
Thu, 8 Feb 2001 17:22:56 +0000
(17:22 +0000)
committer
Ulf Möller
<ulf@openssl.org>
Thu, 8 Feb 2001 17:22:56 +0000
(17:22 +0000)
entropy devices or sockets.
crypto/rand/randfile.c
patch
|
blob
|
history
diff --git
a/crypto/rand/randfile.c
b/crypto/rand/randfile.c
index 528e410f74009e82ccb922801d4bf316a5a90685..fe4f2a9a211e95fa835c566e5ba196cc52ca43d1 100644
(file)
--- 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.