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:40:18 +0000 (15:40 -0400)
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4537)

doc/man3/RAND_load_file.pod

index 3cb7084862f78bdf477533f232174915d77f7474..2fe932fd3f42839b11a9c92cf27b6ab8c34529ea 100644 (file)
@@ -58,7 +58,7 @@ B<num> is too small for the path name, an error occurs.
 
 =head1 RETURN VALUES
 
 
 =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, or -1 if the
 bytes written were generated without appropriate seeding.
 
 RAND_write_file() returns the number of bytes written, or -1 if the
 bytes written were generated without appropriate seeding.