X-Git-Url: https://git.openssl.org/?p=openssl.git;a=blobdiff_plain;f=doc%2Fssl%2FSSL_get_error.pod;h=9cacdedc575669332025583547149a1cf850660e;hp=d7e2a81a88e6af56582996c2feb70eda850c3687;hb=f5a8d67872fe2c58626a2423c3ec923f8c2a5d4a;hpb=a598cd1ab4251d1cb5f5b88a91463d4552dd294e diff --git a/doc/ssl/SSL_get_error.pod b/doc/ssl/SSL_get_error.pod index d7e2a81a88..9cacdedc57 100644 --- a/doc/ssl/SSL_get_error.pod +++ b/doc/ssl/SSL_get_error.pod @@ -21,7 +21,7 @@ B. In addition to B and B, SSL_get_error() inspects the current thread's OpenSSL error queue. Thus, SSL_get_error() must be used in the same thread that performed the SSL I/O operation, and no -other OpenSSL function calls should appear inbetween. The current +other OpenSSL function calls should appear in between. The current thread's error queue must be empty before the SSL I/O operation is attempted, or SSL_get_error() will not work reliably. @@ -34,13 +34,13 @@ The following return values can currently occur: =item SSL_ERROR_NONE The SSL I/O operation completed. This result code is returned -if and only if B 0>. +if and only if B 0>. =item SSL_ERROR_ZERO_RETURN The SSL connection has been closed. If the protocol version is SSL 3.0 or TLS 1.0, this result code is returned only if a closure -alerts has occured in the protocol, i.e. if the connection has been +alerts has occurred in the protocol, i.e. if the connection has been closed cleanly. =item SSL_ERROR_WANT_READ, SSL_ERROR_WANT_WRITE @@ -71,18 +71,18 @@ information on the error. If the error queue is empty (i.e. ERR_get_error() returns 0), B can be used to find out more about the error: If B, an EOF was observed that violates the protocol. If B, the underlying B reported an -I/O error. (For socket I/O on Unix systems, consult B.) +I/O error (for socket I/O on Unix systems, consult B for details). =item SSL_ERROR_SSL -A failure in the SSL library occured, usually a protocol error. The +A failure in the SSL library occurred, usually a protocol error. The OpenSSL error queue contains more information on the error. =back =head1 SEE ALSO -ssl(3), err(3) +L, L =head1 HISTORY