From: Rich Salz Date: Mon, 16 Oct 2017 16:10:45 +0000 (-0400) Subject: Update RAND_load_file return value. X-Git-Tag: OpenSSL_1_1_0g~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=c290d61fd35f2a33cf5e93f9dc74a0929171fc96;p=oweals%2Fopenssl.git Update RAND_load_file return value. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/4537) (cherry picked from commit fe7a4d7c4c8148f732bc47ef7585f4aa41b7391a) --- diff --git a/doc/crypto/RAND_load_file.pod b/doc/crypto/RAND_load_file.pod index 39084b2c5d..1053a925ad 100644 --- a/doc/crypto/RAND_load_file.pod +++ b/doc/crypto/RAND_load_file.pod @@ -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.