diff options
author | Rich Salz <rsalz@openssl.org> | 2017-07-08 14:45:15 -0400 |
---|---|---|
committer | Rich Salz <rsalz@openssl.org> | 2017-07-12 11:09:39 -0400 |
commit | e0c89df9e424e681cf523fac718c425f9b5e6c27 (patch) | |
tree | e2b6f534fe100d92073c0074cf7e18160bc97718 /doc | |
parent | aa8dfbc421c1bcb5ba508802629c8005340f3a9e (diff) |
Rewrite RAND_egd
Use stdio and its buffering.
Limit to 255 bytes (could remove that if neceessary).
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/3888)
Diffstat (limited to 'doc')
-rw-r--r-- | doc/man3/RAND_egd.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/RAND_egd.pod b/doc/man3/RAND_egd.pod index e2c7b3f0e1..e68eb8fd7c 100644 --- a/doc/man3/RAND_egd.pod +++ b/doc/man3/RAND_egd.pod @@ -26,7 +26,7 @@ specified socket B<path>, and passes the data it receives into RAND_add(). RAND_egd() is equivalent to RAND_egd_bytes() with B<num> set to 255. RAND_query_egd_bytes() requests B<num> bytes of randomness from an EGD at -the specified socket B<path>. +the specified socket B<path>, where B<num> must be less than 256. If B<buf> is B<NULL>, it is equivalent to RAND_egd_bytes(). If B<buf> is not B<NULL>, then the data is copied to the buffer and RAND_add() is not called. |