]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
issue-9316: Update return documentation for RAND_set_rand_engine
authoragnosticdev <agnosticdev@gmail.com>
Fri, 12 Jul 2019 10:11:56 +0000 (05:11 -0500)
committerPauli <paul.dale@oracle.com>
Thu, 11 Jul 2019 14:05:17 +0000 (00:05 +1000)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/9351)

doc/man3/RAND_set_rand_method.pod

index e1320f6d3ab510c8d1b9c3ea8f2fa9e967f2fafc..26188d28a64619f82e46182adafa39f07594b37f 100644 (file)
@@ -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