From a0aae68cf6f3383f248c0e1991973224f2e4498f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bodo=20M=C3=B6ller?= Date: Mon, 25 Dec 2000 18:40:46 +0000 Subject: Fix SSL_peek and SSL_pending. --- doc/ssl/SSL_get_error.pod | 12 ++++++------ doc/ssl/SSL_pending.pod | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'doc') diff --git a/doc/ssl/SSL_get_error.pod b/doc/ssl/SSL_get_error.pod index bd6872f61f..fefaf61936 100644 --- a/doc/ssl/SSL_get_error.pod +++ b/doc/ssl/SSL_get_error.pod @@ -14,8 +14,8 @@ SSL_get_error - obtain result code for TLS/SSL I/O operation SSL_get_error() returns a result code (suitable for the C "switch" statement) for a preceding call to SSL_connect(), SSL_accept(), -SSL_read(), or SSL_write() on B. The value returned by that -TLS/SSL I/O function must be passed to SSL_get_error() in parameter +SSL_read(), SSL_peek(), or SSL_write() on B. The value returned by +that TLS/SSL I/O function must be passed to SSL_get_error() in parameter B. In addition to B and B, SSL_get_error() inspects the @@ -64,10 +64,10 @@ TLS/SSL I/O function should be retried. Caveat: Any TLS/SSL I/O function can lead to either of B and B. In particular, -SSL_read() may want to write data and SSL_write() may want to read -data. This is mainly because TLS/SSL handshakes may occur at any time -during the protocol (initiated by either the client or the server); -SSL_read() and SSL_write() will handle any pending handshakes. +SSL_read() or SSL_peek() may want to write data and SSL_write() may want +to read data. This is mainly because TLS/SSL handshakes may occur at any +time during the protocol (initiated by either the client or the server); +SSL_read(), SSL_peek(), and SSL_write() will handle any pending handshakes. =item SSL_ERROR_WANT_X509_LOOKUP diff --git a/doc/ssl/SSL_pending.pod b/doc/ssl/SSL_pending.pod index 6c03b14caf..b4c48598b2 100644 --- a/doc/ssl/SSL_pending.pod +++ b/doc/ssl/SSL_pending.pod @@ -33,8 +33,8 @@ I flag is set, additional protocol bytes may have been read containing more TLS/SSL records; these are ignored by SSL_pending(). -SSL_pending() does not check if the record type of pending data is -application data. +Up to OpenSSL 0.9.6, SSL_pending() does not check if the record type +of pending data is application data. =head1 SEE ALSO -- cgit v1.2.3