From: Matt Caswell Date: Tue, 25 Oct 2016 14:27:55 +0000 (+0100) Subject: Clarify the return values for the peek functions X-Git-Tag: OpenSSL_1_1_1-pre1~3197 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3cdc2f8fb528a4d47436dd863f6b8d5c30619847;p=oweals%2Fopenssl.git Clarify the return values for the peek functions Reviewed-by: Rich Salz --- diff --git a/doc/man3/SSL_read.pod b/doc/man3/SSL_read.pod index e97d5ba050..8ef2db57c0 100644 --- a/doc/man3/SSL_read.pod +++ b/doc/man3/SSL_read.pod @@ -87,10 +87,10 @@ with the same arguments. =head1 RETURN VALUES -SSL_read_ex() will return 1 for success or 0 for failure. In the event of a -failure call SSL_get_error() to find out the reason. +SSL_read_ex() and SSL_peek_ex() will return 1 for success or 0 for failure. In +the event of a failure call SSL_get_error() to find out the reason. -For SSL_read() the following return values can occur: +For SSL_read() and SSL_peek() the following return values can occur: =over 4