diff options
author | beck <> | 2001-06-22 00:03:44 +0000 |
---|---|---|
committer | beck <> | 2001-06-22 00:03:44 +0000 |
commit | 38b6ff9e5294811c57541ad47940f8f8f41dc114 (patch) | |
tree | 402699541cee3cf3f2943b0384dbda7de534de70 /src/lib/libssl/src/doc/ssl/SSL_shutdown.pod | |
parent | afae624d63e4e717c5bae8c7842a4712309f728f (diff) | |
download | openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.gz openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.tar.bz2 openbsd-38b6ff9e5294811c57541ad47940f8f8f41dc114.zip |
openssl-engine-0.9.6a merge
Diffstat (limited to 'src/lib/libssl/src/doc/ssl/SSL_shutdown.pod')
-rw-r--r-- | src/lib/libssl/src/doc/ssl/SSL_shutdown.pod | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod b/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod index 20e273bd4d..7988dd3c90 100644 --- a/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod +++ b/src/lib/libssl/src/doc/ssl/SSL_shutdown.pod | |||
@@ -12,9 +12,17 @@ SSL_shutdown - shut down a TLS/SSL connection | |||
12 | 12 | ||
13 | =head1 DESCRIPTION | 13 | =head1 DESCRIPTION |
14 | 14 | ||
15 | SSL_shutdown() shuts down an active TLS/SSL connection. It sends the shutdown | 15 | SSL_shutdown() shuts down an active TLS/SSL connection. It sends the |
16 | alert to the peer. The behaviour of SSL_shutdown() depends on the underlying | 16 | "close notify" shutdown alert to the peer. |
17 | BIO. | 17 | |
18 | =head1 NOTES | ||
19 | |||
20 | SSL_shutdown() tries to send the "close notify" shutdown alert to the peer. | ||
21 | Whether the operation succeeds or not, the SSL_SENT_SHUTDOWN flag is set and | ||
22 | a currently open session is considered closed and good and will be kept in the | ||
23 | session cache for further reuse. | ||
24 | |||
25 | The behaviour of SSL_shutdown() depends on the underlying BIO. | ||
18 | 26 | ||
19 | If the underlying BIO is B<blocking>, SSL_shutdown() will only return once the | 27 | If the underlying BIO is B<blocking>, SSL_shutdown() will only return once the |
20 | handshake has been finished or an error occurred. | 28 | handshake has been finished or an error occurred. |
@@ -57,6 +65,8 @@ Call SSL_get_error() with the return value B<ret> to find out the reason. | |||
57 | =head1 SEE ALSO | 65 | =head1 SEE ALSO |
58 | 66 | ||
59 | L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>, | 67 | L<SSL_get_error(3)|SSL_get_error(3)>, L<SSL_connect(3)|SSL_connect(3)>, |
60 | L<SSL_accept(3)|SSL_accept(3)>, L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)> | 68 | L<SSL_accept(3)|SSL_accept(3)>, L<SSL_set_shutdown(3)|SSL_set_shutdown(3)>, |
69 | L<SSL_clear(3)|SSL_clear(3), L<SSL_free(3)|SSL_free(3)>, | ||
70 | L<ssl(3)|ssl(3)>, L<bio(3)|bio(3)> | ||
61 | 71 | ||
62 | =cut | 72 | =cut |