Commit 2e3fd543 authored by Lutz Jänicke's avatar Lutz Jänicke
Browse files

Add passage to manual page actually reflecting the usage of the

contents of "buf" when calling RAND_*bytes().
parent 625782f7
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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
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

RAND_bytes() returns 1 on success, 0 otherwise. The error code can be