Add passage to manual page actually reflecting the usage of the

contents of "buf" when calling RAND_*bytes().
This commit is contained in:
Lutz Jänicke 2007-09-20 07:24:45 +00:00
parent 625782f7ee
commit 2e3fd54337

View File

@ -25,6 +25,9 @@ unpredictable. They can be used for non-cryptographic purposes and for
certain purposes in cryptographic protocols, but usually not for key certain purposes in cryptographic protocols, but usually not for key
generation etc. generation etc.
The contents of B<buf> is mixed into the entropy pool before retrieving
the new pseudo-random bytes unless disabled at compile time.
=head1 RETURN VALUES =head1 RETURN VALUES
RAND_bytes() returns 1 on success, 0 otherwise. The error code can be RAND_bytes() returns 1 on success, 0 otherwise. The error code can be