Commit ab2d477c authored by agnosticdev's avatar agnosticdev Committed by Pauli
Browse files

issue-9316: Update return documentation for RAND_set_rand_engine



Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
Reviewed-by: default avatarMatt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9351)

(cherry picked from commit 5fe6e2311df9bbbe347cdc7b3c22ce06e20a0ef9)
parent a48cd0c5
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ RAND_set_rand_method, RAND_get_rand_method, RAND_OpenSSL - select RAND method

 RAND_METHOD *RAND_OpenSSL(void);

 void RAND_set_rand_method(const RAND_METHOD *meth);
 int RAND_set_rand_method(const RAND_METHOD *meth);

 const RAND_METHOD *RAND_get_rand_method(void);

@@ -48,8 +48,9 @@ Each pointer may be NULL if the function is not implemented.

=head1 RETURN VALUES

RAND_set_rand_method() returns no value. RAND_get_rand_method() and
RAND_OpenSSL() return pointers to the respective methods.
RAND_set_rand_method() returns 1 on success and 0 on failue.
RAND_get_rand_method() and RAND_OpenSSL() return pointers to the respective
methods.

=head1 SEE ALSO