diff options
author | schwarze <> | 2021-10-23 17:20:50 +0000 |
---|---|---|
committer | schwarze <> | 2021-10-23 17:20:50 +0000 |
commit | 42ba2505ce4fe41deca24850a78d79cacd4ce66e (patch) | |
tree | 783fb1b86df94eab01e6c67660c53963b989334c | |
parent | 55a62758cd15b69f401e838bf3be390599af37a5 (diff) | |
download | openbsd-42ba2505ce4fe41deca24850a78d79cacd4ce66e.tar.gz openbsd-42ba2505ce4fe41deca24850a78d79cacd4ce66e.tar.bz2 openbsd-42ba2505ce4fe41deca24850a78d79cacd4ce66e.zip |
fix wrong and missing return types and wrong macros in the SYNOPSIS;
while here, also apply some minor wording improvements
-rw-r--r-- | src/lib/libssl/man/SSL_CTX_set_num_tickets.3 | 28 |
1 files changed, 18 insertions, 10 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 index 8dacecf65b..cb6d7e000a 100644 --- a/src/lib/libssl/man/SSL_CTX_set_num_tickets.3 +++ b/src/lib/libssl/man/SSL_CTX_set_num_tickets.3 | |||
@@ -1,4 +1,5 @@ | |||
1 | .\" $OpenBSD: SSL_CTX_set_num_tickets.3,v 1.1 2021/10/23 16:29:15 beck Exp $ | 1 | .\" $OpenBSD: SSL_CTX_set_num_tickets.3,v 1.2 2021/10/23 17:20:50 schwarze Exp $ |
2 | .\" OpenSSL pod checked up to: 5402f96a Sep 11 09:58:52 2021 +0100 | ||
2 | .\" | 3 | .\" |
3 | .\" Copyright (c) 2021 Bob Beck <beck@openbsd.org> | 4 | .\" Copyright (c) 2021 Bob Beck <beck@openbsd.org> |
4 | .\" | 5 | .\" |
@@ -22,20 +23,27 @@ | |||
22 | .Nm SSL_CTX_get_num_tickets , | 23 | .Nm SSL_CTX_get_num_tickets , |
23 | .Nm SSL_set_num_tickets , | 24 | .Nm SSL_set_num_tickets , |
24 | .Nm SSL_get_num_tickets | 25 | .Nm SSL_get_num_tickets |
25 | .Nd Set and get the number of TLS 1.3 session tickets to be sent | 26 | .Nd set and get the number of TLS 1.3 session tickets to be sent |
26 | .Sh SYNOPSIS | 27 | .Sh SYNOPSIS |
27 | .In openssl/ssl.h | 28 | .In openssl/ssl.h |
28 | .Ft void | 29 | .Ft int |
29 | .Fn SSL_CTX_set_num_tickets "SSL_CTX *ctx" "size_t num_tickets" | 30 | .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 | .Ft size_t |
32 | .Fn SSL_CTX_get_num_tickets "const SSL_CTX *ctx" | ||
33 | .Ft int | ||
31 | .Fn SSL_set_num_tickets "SSL *ssl" "size_t num_tickets" | 34 | .Fn SSL_set_num_tickets "SSL *ssl" "size_t num_tickets" |
32 | .Ft SSL_get_num_tickets "const SSL *ssl" | 35 | .Ft size_t |
36 | .Fn SSL_get_num_tickets "const SSL *ssl" | ||
33 | .Sh DESCRIPTION | 37 | .Sh DESCRIPTION |
34 | These functions set, and retrieve, the configured number of session | 38 | These functions set and retrieve |
35 | tickets from the respective objects. | 39 | the configured number of session tickets for |
40 | .Fa ctx | ||
41 | and | ||
42 | .Fa ssl , | ||
43 | respectively. | ||
36 | .Pp | 44 | .Pp |
37 | These functions are provided only for compatibility with OpenSSL. | 45 | They are provided only for compatibility with OpenSSL |
38 | They have no effect in LibreSSL. | 46 | and have no effect in LibreSSL. |
39 | .Sh RETURN VALUES | 47 | .Sh RETURN VALUES |
40 | .Fn SSL_CTX_set_num_tickets | 48 | .Fn SSL_CTX_set_num_tickets |
41 | and | 49 | and |
@@ -45,7 +53,7 @@ always return 1. | |||
45 | .Fn SSL_CTX_get_num_tickets | 53 | .Fn SSL_CTX_get_num_tickets |
46 | and | 54 | and |
47 | .Fn SSL_get_num_tickets | 55 | .Fn SSL_get_num_tickets |
48 | return the previously set number of tickets, or 0 if they have not been set. | 56 | return the previously set number of tickets, or 0 if it has not been set. |
49 | .Sh SEE ALSO | 57 | .Sh SEE ALSO |
50 | .Xr ssl 3 , | 58 | .Xr ssl 3 , |
51 | .Xr SSL_CTX_new 3 | 59 | .Xr SSL_CTX_new 3 |