Commit 3cdc2f8f authored by Matt Caswell's avatar Matt Caswell
Browse files

Clarify the return values for the peek functions



Reviewed-by: default avatarRich Salz <rsalz@openssl.org>
parent 6782e5fd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -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