diff options
| author | schwarze <> | 2021-09-14 14:08:15 +0000 |
|---|---|---|
| committer | schwarze <> | 2021-09-14 14:08:15 +0000 |
| commit | 1b8306e7e3cdef25c29c63bc651d4ae5597212f8 (patch) | |
| tree | 4b9bae4a746e80965fed6983ecec4c29eb582f14 /src | |
| parent | 8516f8e8e45c406ec2ca34ec57684ee01de472a5 (diff) | |
| download | openbsd-1b8306e7e3cdef25c29c63bc651d4ae5597212f8.tar.gz openbsd-1b8306e7e3cdef25c29c63bc651d4ae5597212f8.tar.bz2 openbsd-1b8306e7e3cdef25c29c63bc651d4ae5597212f8.zip | |
Merge the stub SSL_SESSION_is_resumable(3) manual page from the
OpenSSL 1.1.1 branch, which is still under a free license.
A few tweaks to wording and structure by me.
OK tb@ on SSL_SESSION_is_resumable.3
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libssl/man/Makefile | 3 | ||||
| -rw-r--r-- | src/lib/libssl/man/SSL_SESSION_is_resumable.3 | 81 | ||||
| -rw-r--r-- | src/lib/libssl/man/SSL_SESSION_new.3 | 5 |
3 files changed, 86 insertions, 3 deletions
diff --git a/src/lib/libssl/man/Makefile b/src/lib/libssl/man/Makefile index de1390ea6b..0c8805df5e 100644 --- a/src/lib/libssl/man/Makefile +++ b/src/lib/libssl/man/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.71 2021/05/12 14:17:27 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.72 2021/09/14 14:08:15 schwarze Exp $ |
| 2 | 2 | ||
| 3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
| 4 | 4 | ||
| @@ -61,6 +61,7 @@ MAN = BIO_f_ssl.3 \ | |||
| 61 | SSL_SESSION_get0_cipher.3 \ | 61 | SSL_SESSION_get0_cipher.3 \ |
| 62 | SSL_SESSION_get0_peer.3 \ | 62 | SSL_SESSION_get0_peer.3 \ |
| 63 | SSL_SESSION_has_ticket.3 \ | 63 | SSL_SESSION_has_ticket.3 \ |
| 64 | SSL_SESSION_is_resumable.3 \ | ||
| 64 | SSL_SESSION_new.3 \ | 65 | SSL_SESSION_new.3 \ |
| 65 | SSL_SESSION_print.3 \ | 66 | SSL_SESSION_print.3 \ |
| 66 | SSL_SESSION_set1_id_context.3 \ | 67 | SSL_SESSION_set1_id_context.3 \ |
diff --git a/src/lib/libssl/man/SSL_SESSION_is_resumable.3 b/src/lib/libssl/man/SSL_SESSION_is_resumable.3 new file mode 100644 index 0000000000..48d7d17889 --- /dev/null +++ b/src/lib/libssl/man/SSL_SESSION_is_resumable.3 | |||
| @@ -0,0 +1,81 @@ | |||
| 1 | .\" $OpenBSD: SSL_SESSION_is_resumable.3,v 1.1 2021/09/14 14:08:15 schwarze Exp $ | ||
| 2 | .\" full merge up to: OpenSSL df75c2bf Dec 9 01:02:36 2018 +0100 | ||
| 3 | .\" | ||
| 4 | .\" This file was written by Matt Caswell <matt@openssl.org>. | ||
| 5 | .\" Copyright (c) 2017 The OpenSSL Project. All rights reserved. | ||
| 6 | .\" | ||
| 7 | .\" Redistribution and use in source and binary forms, with or without | ||
| 8 | .\" modification, are permitted provided that the following conditions | ||
| 9 | .\" are met: | ||
| 10 | .\" | ||
| 11 | .\" 1. Redistributions of source code must retain the above copyright | ||
| 12 | .\" notice, this list of conditions and the following disclaimer. | ||
| 13 | .\" | ||
| 14 | .\" 2. Redistributions in binary form must reproduce the above copyright | ||
| 15 | .\" notice, this list of conditions and the following disclaimer in | ||
| 16 | .\" the documentation and/or other materials provided with the | ||
| 17 | .\" distribution. | ||
| 18 | .\" | ||
| 19 | .\" 3. All advertising materials mentioning features or use of this | ||
| 20 | .\" software must display the following acknowledgment: | ||
| 21 | .\" "This product includes software developed by the OpenSSL Project | ||
| 22 | .\" for use in the OpenSSL Toolkit. (http://www.openssl.org/)" | ||
| 23 | .\" | ||
| 24 | .\" 4. The names "OpenSSL Toolkit" and "OpenSSL Project" must not be used to | ||
| 25 | .\" endorse or promote products derived from this software without | ||
| 26 | .\" prior written permission. For written permission, please contact | ||
| 27 | .\" openssl-core@openssl.org. | ||
| 28 | .\" | ||
| 29 | .\" 5. Products derived from this software may not be called "OpenSSL" | ||
| 30 | .\" nor may "OpenSSL" appear in their names without prior written | ||
| 31 | .\" permission of the OpenSSL Project. | ||
| 32 | .\" | ||
| 33 | .\" 6. Redistributions of any form whatsoever must retain the following | ||
| 34 | .\" acknowledgment: | ||
| 35 | .\" "This product includes software developed by the OpenSSL Project | ||
| 36 | .\" for use in the OpenSSL Toolkit (http://www.openssl.org/)" | ||
| 37 | .\" | ||
| 38 | .\" THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY | ||
| 39 | .\" EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | ||
| 40 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | ||
| 41 | .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE OpenSSL PROJECT OR | ||
| 42 | .\" ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, | ||
| 43 | .\" SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT | ||
| 44 | .\" NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; | ||
| 45 | .\" LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | ||
| 46 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, | ||
| 47 | .\" STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | ||
| 48 | .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED | ||
| 49 | .\" OF THE POSSIBILITY OF SUCH DAMAGE. | ||
| 50 | .\" | ||
| 51 | .Dd $Mdocdate: September 14 2021 $ | ||
| 52 | .Dt SSL_SESSION_IS_RESUMABLE 3 | ||
| 53 | .Os | ||
| 54 | .Sh NAME | ||
| 55 | .Nm SSL_SESSION_is_resumable | ||
| 56 | .Nd determine whether an SSL_SESSION object can be used for resumption | ||
| 57 | .Sh SYNOPSIS | ||
| 58 | .In openssl/ssl.h | ||
| 59 | .Ft int | ||
| 60 | .Fo SSL_SESSION_is_resumable | ||
| 61 | .Fa "const SSL_SESSION *session" | ||
| 62 | .Fc | ||
| 63 | .Sh DESCRIPTION | ||
| 64 | .Fn SSL_SESSION_is_resumable | ||
| 65 | determines whether the | ||
| 66 | .Fa session | ||
| 67 | object can be used to resume a session. | ||
| 68 | Note that attempting to resume with a non-resumable session | ||
| 69 | will result in a full handshake. | ||
| 70 | .Sh RETURN VALUES | ||
| 71 | .Fn SSL_SESSION_is_resumable | ||
| 72 | returns 1 if the session is resumable or 0 otherwise. | ||
| 73 | It always returns 0 with LibreSSL. | ||
| 74 | .Sh SEE ALSO | ||
| 75 | .Xr ssl 3 , | ||
| 76 | .Xr SSL_CTX_sess_set_new_cb 3 , | ||
| 77 | .Xr SSL_get_session 3 | ||
| 78 | .Sh HISTORY | ||
| 79 | .Fn SSL_SESSION_is_resumable | ||
| 80 | first appeared in OpenSSL 1.1.1 and has been available since | ||
| 81 | .Ox 7.0 . | ||
diff --git a/src/lib/libssl/man/SSL_SESSION_new.3 b/src/lib/libssl/man/SSL_SESSION_new.3 index bfc68eb6a6..2dcdb264c1 100644 --- a/src/lib/libssl/man/SSL_SESSION_new.3 +++ b/src/lib/libssl/man/SSL_SESSION_new.3 | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | .\" $OpenBSD: SSL_SESSION_new.3,v 1.8 2020/12/03 22:47:22 jmc Exp $ | 1 | .\" $OpenBSD: SSL_SESSION_new.3,v 1.9 2021/09/14 14:08:15 schwarze Exp $ |
| 2 | .\" | 2 | .\" |
| 3 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> | 3 | .\" Copyright (c) 2016 Ingo Schwarze <schwarze@openbsd.org> |
| 4 | .\" | 4 | .\" |
| @@ -14,7 +14,7 @@ | |||
| 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF | 14 | .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
| 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. | 15 | .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
| 16 | .\" | 16 | .\" |
| 17 | .Dd $Mdocdate: December 3 2020 $ | 17 | .Dd $Mdocdate: September 14 2021 $ |
| 18 | .Dt SSL_SESSION_NEW 3 | 18 | .Dt SSL_SESSION_NEW 3 |
| 19 | .Os | 19 | .Os |
| 20 | .Sh NAME | 20 | .Sh NAME |
| @@ -68,6 +68,7 @@ returns | |||
| 68 | .Xr SSL_SESSION_get_protocol_version 3 , | 68 | .Xr SSL_SESSION_get_protocol_version 3 , |
| 69 | .Xr SSL_SESSION_get_time 3 , | 69 | .Xr SSL_SESSION_get_time 3 , |
| 70 | .Xr SSL_SESSION_has_ticket 3 , | 70 | .Xr SSL_SESSION_has_ticket 3 , |
| 71 | .Xr SSL_SESSION_is_resumable 3 , | ||
| 71 | .Xr SSL_SESSION_print 3 , | 72 | .Xr SSL_SESSION_print 3 , |
| 72 | .Xr SSL_SESSION_set1_id_context 3 , | 73 | .Xr SSL_SESSION_set1_id_context 3 , |
| 73 | .Xr SSL_set_session 3 | 74 | .Xr SSL_set_session 3 |
