summaryrefslogtreecommitdiff
path: root/src/lib/libssl/man
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libssl/man')
-rw-r--r--src/lib/libssl/man/SSL_CTX_set_num_tickets.355
1 files changed, 55 insertions, 0 deletions
diff --git a/src/lib/libssl/man/SSL_CTX_set_num_tickets.3 b/src/lib/libssl/man/SSL_CTX_set_num_tickets.3
new file mode 100644
index 0000000000..8dacecf65b
--- /dev/null
+++ b/src/lib/libssl/man/SSL_CTX_set_num_tickets.3
@@ -0,0 +1,55 @@
1.\" $OpenBSD: SSL_CTX_set_num_tickets.3,v 1.1 2021/10/23 16:29:15 beck Exp $
2.\"
3.\" Copyright (c) 2021 Bob Beck <beck@openbsd.org>
4.\"
5.\" Permission to use, copy, modify, and distribute this software for any
6.\" purpose with or without fee is hereby granted, provided that the above
7.\" copyright notice and this permission notice appear in all copies.
8.\"
9.\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
10.\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
11.\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
12.\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
13.\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\"
17.Dd $Mdocdate: October 23 2021 $
18.Dt SSL_CTX_SET_NUM_TICKETS 3
19.Os
20.Sh NAME
21.Nm SSL_CTX_set_num_tickets ,
22.Nm SSL_CTX_get_num_tickets ,
23.Nm SSL_set_num_tickets ,
24.Nm SSL_get_num_tickets
25.Nd Set and get the number of TLS 1.3 session tickets to be sent
26.Sh SYNOPSIS
27.In openssl/ssl.h
28.Ft void
29.Fn SSL_CTX_set_num_tickets "SSL_CTX *ctx" "size_t num_tickets"
30.Ft SSL_CTX_get_num_tickets "const SSL_CTX *ctx"
31.Fn SSL_set_num_tickets "SSL *ssl" "size_t num_tickets"
32.Ft SSL_get_num_tickets "const SSL *ssl"
33.Sh DESCRIPTION
34These functions set, and retrieve, the configured number of session
35tickets from the respective objects.
36.Pp
37These functions are provided only for compatibility with OpenSSL.
38They have no effect in LibreSSL.
39.Sh RETURN VALUES
40.Fn SSL_CTX_set_num_tickets
41and
42.Fn SSL_set_num_tickets
43always return 1.
44.Pp
45.Fn SSL_CTX_get_num_tickets
46and
47.Fn SSL_get_num_tickets
48return the previously set number of tickets, or 0 if they have not been set.
49.Sh SEE ALSO
50.Xr ssl 3 ,
51.Xr SSL_CTX_new 3
52.Sh HISTORY
53These function first appeared in OpenSSL 1.1.1
54and have been available since
55.Ox 7.1 .