Update RAND_load_file return value.
authorRich Salz <rsalz@openssl.org>
Mon, 16 Oct 2017 16:10:45 +0000 (12:10 -0400)
committerRich Salz <rsalz@openssl.org>
Tue, 17 Oct 2017 19:41:48 +0000 (15:41 -0400)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4537)

(cherry picked from commit fe7a4d7c4c8148f732bc47ef7585f4aa41b7391a)

doc/crypto/RAND_load_file.pod

index 39084b2c5dcc93af968917d22de2e8c847899c6e..1053a925adf03298a389f27bbfbe1f2a2e902663 100644 (file)
@@ -55,7 +55,7 @@ RAND_load_file() in a later session.
 
 =head1 RETURN VALUES
 
-RAND_load_file() returns the number of bytes read.
+RAND_load_file() returns the number of bytes read or -1 on error.
 
 RAND_write_file() returns the number of bytes written, and -1 if the
 bytes written were generated without appropriate seed.