aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-10-16 12:10:45 -0400
committerRich Salz <rsalz@openssl.org>2017-10-17 15:40:18 -0400
commitfe7a4d7c4c8148f732bc47ef7585f4aa41b7391a (patch)
treedb5ffa5d02da337cd58754be4c187fbb99a2d7b6
parent432f8688bb72e21939845ac7a69359ca718c6676 (diff)
downloadopenssl-fe7a4d7c4c8148f732bc47ef7585f4aa41b7391a.tar.gz
Update RAND_load_file return value.
Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/4537)
-rw-r--r--doc/man3/RAND_load_file.pod2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/man3/RAND_load_file.pod b/doc/man3/RAND_load_file.pod
index 3cb7084862..2fe932fd3f 100644
--- a/doc/man3/RAND_load_file.pod
+++ b/doc/man3/RAND_load_file.pod
@@ -58,7 +58,7 @@ B<num> is too small for the path name, an error occurs.
=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.