X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fcrypto%2FRAND_bytes.pod;h=d57618de4bc41af83eda975cb60b85ef13518b0f;hp=f3a5ed22f860dab975f9c29f4b4e09a3e4b65c27;hb=a528d4f0a9a71405f3ca06e20cbd27aa1b8c0df9;hpb=302d38e3f73d5fd2ba2fd30bb7798778cb9f18dd diff --git a/doc/crypto/RAND_bytes.pod b/doc/crypto/RAND_bytes.pod index f3a5ed22f8..d57618de4b 100644 --- a/doc/crypto/RAND_bytes.pod +++ b/doc/crypto/RAND_bytes.pod @@ -34,20 +34,14 @@ the new pseudo-random bytes unless disabled at compile time (see FAQ). =head1 RETURN VALUES RAND_bytes() returns 1 on success, 0 otherwise. The error code can be -obtained by L. RAND_pseudo_bytes() returns 1 if the +obtained by L. RAND_pseudo_bytes() returns 1 if the bytes generated are cryptographically strong, 0 otherwise. Both functions return -1 if they are not supported by the current RAND method. =head1 SEE ALSO -L, L, -L - -=head1 HISTORY - -RAND_bytes() is available in all versions of SSLeay and OpenSSL. It -has a return value since OpenSSL 0.9.5. RAND_pseudo_bytes() was added -in OpenSSL 0.9.5. +L, L, +L =cut