diff options
author | agnosticdev <agnosticdev@gmail.com> | 2019-07-12 05:11:56 -0500 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2019-07-12 00:06:21 +1000 |
commit | ab2d477c0aa2d949bdc690f38f09bfde98f93a9c (patch) | |
tree | fffb818e30470dfa50896693b44970a388e0d909 | |
parent | a48cd0c5b9fef42321fc16ea6a40c30c0e1712d4 (diff) |
issue-9316: Update return documentation for RAND_set_rand_engine
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9351)
(cherry picked from commit 5fe6e2311df9bbbe347cdc7b3c22ce06e20a0ef9)
-rw-r--r-- | doc/man3/RAND_set_rand_method.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/man3/RAND_set_rand_method.pod b/doc/man3/RAND_set_rand_method.pod index d4b65b91fd..ab06c57d10 100644 --- a/doc/man3/RAND_set_rand_method.pod +++ b/doc/man3/RAND_set_rand_method.pod @@ -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 |