Clarify the return values for the peek functions

Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
Matt Caswell 2016-10-25 15:27:55 +01:00
parent 6782e5fdd8
commit 3cdc2f8fb5

View file

@ -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