Commit c290d61f authored by Rich Salz's avatar Rich Salz
Browse files

Update RAND_load_file return value.



Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/4537)

(cherry picked from commit fe7a4d7c)
parent 20fe5052
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -55,7 +55,7 @@ RAND_load_file() in a later session.


=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, and -1 if the
RAND_write_file() returns the number of bytes written, and -1 if the
bytes written were generated without appropriate seed.
bytes written were generated without appropriate seed.