summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/libc/net/getaddrinfo.310
-rw-r--r--src/lib/libc/net/inet6_opt_init.310
-rw-r--r--src/lib/libc/net/inet6_rth_space.36
-rw-r--r--src/lib/libc/net/inet_net_ntop.38
-rw-r--r--src/lib/libc/stdlib/malloc.38
-rw-r--r--src/lib/libc/stdlib/tsearch.36
-rw-r--r--src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.36
-rw-r--r--src/lib/libcrypto/man/ASN1_TIME_set.36
-rw-r--r--src/lib/libcrypto/man/BIO_f_buffer.36
-rw-r--r--src/lib/libcrypto/man/BIO_s_accept.36
-rw-r--r--src/lib/libcrypto/man/BIO_s_bio.38
-rw-r--r--src/lib/libcrypto/man/BIO_s_connect.36
-rw-r--r--src/lib/libcrypto/man/CMS_get0_RecipientInfos.36
-rw-r--r--src/lib/libcrypto/man/CRYPTO_set_ex_data.36
-rw-r--r--src/lib/libcrypto/man/DES_set_key.36
-rw-r--r--src/lib/libcrypto/man/EC_GROUP_new.36
-rw-r--r--src/lib/libcrypto/man/ERR_put_error.36
-rw-r--r--src/lib/libcrypto/man/EVP_DigestInit.36
-rw-r--r--src/lib/libcrypto/man/EVP_EncryptInit.312
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_decrypt.36
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_encrypt.36
-rw-r--r--src/lib/libcrypto/man/EVP_PKEY_sign.36
-rw-r--r--src/lib/libcrypto/man/EVP_SignInit.36
-rw-r--r--src/lib/libcrypto/man/OBJ_nid2obj.36
-rw-r--r--src/lib/libcrypto/man/OCSP_cert_to_id.36
-rw-r--r--src/lib/libcrypto/man/OCSP_resp_find_status.38
-rw-r--r--src/lib/libcrypto/man/OCSP_sendreq_new.36
-rw-r--r--src/lib/libcrypto/man/PKCS12_create.310
-rw-r--r--src/lib/libcrypto/man/PKCS7_verify.38
-rw-r--r--src/lib/libcrypto/man/RSA_get_ex_new_index.36
-rw-r--r--src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.38
-rw-r--r--src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.38
-rw-r--r--src/lib/libcrypto/man/X509_get_pubkey.36
-rw-r--r--src/lib/libcrypto/man/lh_new.310
-rw-r--r--src/lib/libcrypto/man/openssl.cnf.58
-rw-r--r--src/lib/libcrypto/man/x509v3.cnf.56
-rw-r--r--src/lib/libssl/man/BIO_f_ssl.314
-rw-r--r--src/lib/libssl/man/SSL_CTX_set_options.310
-rw-r--r--src/lib/libssl/man/SSL_CTX_set_tmp_dh_callback.36
-rw-r--r--src/lib/libssl/man/SSL_get_session.36
40 files changed, 145 insertions, 145 deletions
diff --git a/src/lib/libc/net/getaddrinfo.3 b/src/lib/libc/net/getaddrinfo.3
index de46e70182..035db2780b 100644
--- a/src/lib/libc/net/getaddrinfo.3
+++ b/src/lib/libc/net/getaddrinfo.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: getaddrinfo.3,v 1.59 2019/08/30 20:20:50 jmc Exp $ 1.\" $OpenBSD: getaddrinfo.3,v 1.60 2022/03/31 17:27:16 naddy Exp $
2.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $ 2.\" $KAME: getaddrinfo.3,v 1.36 2005/01/05 03:23:05 itojun Exp $
3.\" 3.\"
4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC") 4.\" Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
@@ -16,7 +16,7 @@
16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 16.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
17.\" PERFORMANCE OF THIS SOFTWARE. 17.\" PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: August 30 2019 $ 19.Dd $Mdocdate: March 31 2022 $
20.Dt GETADDRINFO 3 20.Dt GETADDRINFO 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -105,7 +105,7 @@ or
105.Dv SOCK_RAW . 105.Dv SOCK_RAW .
106When 106When
107.Fa ai_socktype 107.Fa ai_socktype
108is zero the caller will accept any socket type. 108is zero, the caller will accept any socket type.
109.It Fa ai_protocol 109.It Fa ai_protocol
110Indicates which transport protocol is desired, 110Indicates which transport protocol is desired,
111.Dv IPPROTO_UDP 111.Dv IPPROTO_UDP
@@ -113,7 +113,7 @@ or
113.Dv IPPROTO_TCP . 113.Dv IPPROTO_TCP .
114If 114If
115.Fa ai_protocol 115.Fa ai_protocol
116is zero the caller will accept any protocol. 116is zero, the caller will accept any protocol.
117.It Fa ai_flags 117.It Fa ai_flags
118.Fa ai_flags 118.Fa ai_flags
119is formed by 119is formed by
@@ -180,7 +180,7 @@ and no service name resolution should be attempted.
180.It Dv AI_PASSIVE 180.It Dv AI_PASSIVE
181If the 181If the
182.Dv AI_PASSIVE 182.Dv AI_PASSIVE
183bit is set it indicates that the returned socket address structure 183bit is set, it indicates that the returned socket address structure
184is intended for use in a call to 184is intended for use in a call to
185.Xr bind 2 . 185.Xr bind 2 .
186In this case, if the 186In this case, if the
diff --git a/src/lib/libc/net/inet6_opt_init.3 b/src/lib/libc/net/inet6_opt_init.3
index fb4253aa2c..41ba842166 100644
--- a/src/lib/libc/net/inet6_opt_init.3
+++ b/src/lib/libc/net/inet6_opt_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet6_opt_init.3,v 1.7 2022/03/29 18:15:52 naddy Exp $ 1.\" $OpenBSD: inet6_opt_init.3,v 1.8 2022/03/31 17:27:16 naddy Exp $
2.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $ 2.\" $KAME: inet6_opt_init.3,v 1.7 2004/12/27 05:08:23 itojun Exp $
3.\" 3.\"
4.\" Copyright (C) 2004 WIDE Project. 4.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE. 29.\" SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: March 29 2022 $ 31.Dd $Mdocdate: March 31 2022 $
32.Dt INET6_OPT_INIT 3 32.Dt INET6_OPT_INIT 3
33.Os 33.Os
34.\" 34.\"
@@ -97,7 +97,7 @@ The
97function can perform different jobs. 97function can perform different jobs.
98When a valid 98When a valid
99.Fa extbuf 99.Fa extbuf
100argument is supplied it appends an option to the extension buffer and 100argument is supplied, it appends an option to the extension buffer and
101returns the updated total length as well as a pointer to the newly 101returns the updated total length as well as a pointer to the newly
102created option in 102created option in
103.Fa databufp . 103.Fa databufp .
@@ -173,7 +173,7 @@ or
173When 173When
174.Fa extbuf 174.Fa extbuf
175is not 175is not
176.Dv NULL 176.Dv NULL ,
177the function also sets up the appropriate padding bytes by inserting a 177the function also sets up the appropriate padding bytes by inserting a
178Pad1 or PadN option of the proper length. 178Pad1 or PadN option of the proper length.
179.Pp 179.Pp
@@ -238,7 +238,7 @@ and
238point to the 8-bit option type, the 8-bit option length and the option 238point to the 8-bit option type, the 8-bit option length and the option
239data respectively. 239data respectively.
240This function does not return any PAD1 or PADN options. 240This function does not return any PAD1 or PADN options.
241When an error occurs or there are no more options the return 241When an error occurs or there are no more options, the return
242value is \-1. 242value is \-1.
243.\" 243.\"
244.Ss inet6_opt_find 244.Ss inet6_opt_find
diff --git a/src/lib/libc/net/inet6_rth_space.3 b/src/lib/libc/net/inet6_rth_space.3
index fd69da2455..c40b45057e 100644
--- a/src/lib/libc/net/inet6_rth_space.3
+++ b/src/lib/libc/net/inet6_rth_space.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet6_rth_space.3,v 1.7 2014/06/11 16:59:47 chrisz Exp $ 1.\" $OpenBSD: inet6_rth_space.3,v 1.8 2022/03/31 17:27:16 naddy Exp $
2.\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $ 2.\" $KAME: inet6_rth_space.3,v 1.7 2005/01/05 03:00:44 itojun Exp $
3.\" 3.\"
4.\" Copyright (C) 2004 WIDE Project. 4.\" Copyright (C) 2004 WIDE Project.
@@ -28,7 +28,7 @@
28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
29.\" SUCH DAMAGE. 29.\" SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: June 11 2014 $ 31.Dd $Mdocdate: March 31 2022 $
32.Dt INET6_RTH_SPACE 3 32.Dt INET6_RTH_SPACE 3
33.Os 33.Os
34.\" 34.\"
@@ -85,7 +85,7 @@ argument and containing the number of addresses specified in the
85.Fa segments 85.Fa segments
86argument. 86argument.
87When the type is 87When the type is
88.Dv IPV6_RTHDR_TYPE_0 88.Dv IPV6_RTHDR_TYPE_0 ,
89the number of segments must be from 0 through 127. 89the number of segments must be from 0 through 127.
90The return value from this function is the number of bytes required to 90The return value from this function is the number of bytes required to
91store the routing header. 91store the routing header.
diff --git a/src/lib/libc/net/inet_net_ntop.3 b/src/lib/libc/net/inet_net_ntop.3
index 816e87bf98..cac234be42 100644
--- a/src/lib/libc/net/inet_net_ntop.3
+++ b/src/lib/libc/net/inet_net_ntop.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: inet_net_ntop.3,v 1.2 2021/09/01 15:59:22 claudio Exp $ 1.\" $OpenBSD: inet_net_ntop.3,v 1.3 2022/03/31 17:27:16 naddy Exp $
2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $ 2.\" $NetBSD: inet_net.3,v 1.1 1997/06/18 02:25:27 lukem Exp $
3.\" 3.\"
4.\" Copyright (c) 1997 The NetBSD Foundation, Inc. 4.\" Copyright (c) 1997 The NetBSD Foundation, Inc.
@@ -28,7 +28,7 @@
28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 28.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29.\" POSSIBILITY OF SUCH DAMAGE. 29.\" POSSIBILITY OF SUCH DAMAGE.
30.\" 30.\"
31.Dd $Mdocdate: September 1 2021 $ 31.Dd $Mdocdate: March 31 2022 $
32.Dt INET_NET_NTOP 3 32.Dt INET_NET_NTOP 3
33.Os 33.Os
34.Sh NAME 34.Sh NAME
@@ -110,7 +110,7 @@ is in the range
110and is used to explicitly specify the number of bits in the network address. 110and is used to explicitly specify the number of bits in the network address.
111When 111When
112.Dq Li /bits 112.Dq Li /bits
113is not specified the number of bits in the network address is calculated 113is not specified, the number of bits in the network address is calculated
114as the larger of the number of bits in the class to which the address 114as the larger of the number of bits in the class to which the address
115belongs and the number of bits provided rounded up modulo 8. 115belongs and the number of bits provided rounded up modulo 8.
116Examples: 116Examples:
@@ -176,7 +176,7 @@ is in the range
176and is used to explicitly specify the number of bits in the network address. 176and is used to explicitly specify the number of bits in the network address.
177When 177When
178.Dq Li /bits 178.Dq Li /bits
179is not specified 128 is used. 179is not specified, 128 is used.
180Note that when the number of bits is specified using 180Note that when the number of bits is specified using
181.Dq Li /bits 181.Dq Li /bits
182notation, the value of the address still includes all bits supplied 182notation, the value of the address still includes all bits supplied
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index dc3e691ece..9bd498ab50 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" $OpenBSD: malloc.3,v 1.128 2021/04/09 06:04:15 otto Exp $ 33.\" $OpenBSD: malloc.3,v 1.129 2022/03/31 17:27:16 naddy Exp $
34.\" 34.\"
35.Dd $Mdocdate: April 9 2021 $ 35.Dd $Mdocdate: March 31 2022 $
36.Dt MALLOC 3 36.Dt MALLOC 3
37.Os 37.Os
38.Sh NAME 38.Sh NAME
@@ -423,7 +423,7 @@ and multiplying
423.Fa oldnmemb 423.Fa oldnmemb
424and 424and
425.Fa size 425.Fa size
426results in integer overflow 426results in integer overflow,
427.Fn recallocarray 427.Fn recallocarray
428returns 428returns
429.Dv NULL 429.Dv NULL
@@ -610,7 +610,7 @@ Here is a brief description of the error messages and what they mean:
610.It Dq out of memory 610.It Dq out of memory
611If the 611If the
612.Cm X 612.Cm X
613option is specified it is an error for the allocation functions 613option is specified, it is an error for the allocation functions
614to return 614to return
615.Dv NULL . 615.Dv NULL .
616.It Dq bogus pointer (double free?) 616.It Dq bogus pointer (double free?)
diff --git a/src/lib/libc/stdlib/tsearch.3 b/src/lib/libc/stdlib/tsearch.3
index cd90435614..a7ab985013 100644
--- a/src/lib/libc/stdlib/tsearch.3
+++ b/src/lib/libc/stdlib/tsearch.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tsearch.3,v 1.21 2019/01/25 00:19:25 millert Exp $ 1.\" $OpenBSD: tsearch.3,v 1.22 2022/03/31 17:27:16 naddy Exp $
2.\" 2.\"
3.\" Copyright (c) 1997 Todd C. Miller <millert@openbsd.org> 3.\" Copyright (c) 1997 Todd C. Miller <millert@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: January 25 2019 $ 17.Dd $Mdocdate: March 31 2022 $
18.Dt TSEARCH 3 18.Dt TSEARCH 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -63,7 +63,7 @@ except that if no match is found,
63is inserted into the tree and a pointer to it is returned. 63is inserted into the tree and a pointer to it is returned.
64If 64If
65.Fa rootp 65.Fa rootp
66points to a null value a new binary search tree is created. 66points to a null value, a new binary search tree is created.
67.Pp 67.Pp
68.Fn tdelete 68.Fn tdelete
69deletes a node from the specified binary search tree and returns 69deletes a node from the specified binary search tree and returns
diff --git a/src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.3 b/src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.3
index a53723fbfd..15156ffca3 100644
--- a/src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.3
+++ b/src/lib/libcrypto/man/ACCESS_DESCRIPTION_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ACCESS_DESCRIPTION_new.3,v 1.5 2019/06/06 01:06:58 schwarze Exp $ 1.\" $OpenBSD: ACCESS_DESCRIPTION_new.3,v 1.6 2022/03/31 17:27:16 naddy 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: June 6 2019 $ 17.Dd $Mdocdate: March 31 2022 $
18.Dt ACCESS_DESCRIPTION_NEW 3 18.Dt ACCESS_DESCRIPTION_NEW 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -94,7 +94,7 @@ object, which is a
94and represents an ASN.1 94and represents an ASN.1
95.Vt AuthorityInfoAccessSyntax 95.Vt AuthorityInfoAccessSyntax
96structure defined in RFC 5280 section 4.2.2.1. 96structure defined in RFC 5280 section 4.2.2.1.
97If can be used for the authority information access extension of 97It can be used for the authority information access extension of
98certificates and certificate revocation lists and for the subject 98certificates and certificate revocation lists and for the subject
99information access extension of certificates. 99information access extension of certificates.
100.Fn AUTHORITY_INFO_ACCESS_free 100.Fn AUTHORITY_INFO_ACCESS_free
diff --git a/src/lib/libcrypto/man/ASN1_TIME_set.3 b/src/lib/libcrypto/man/ASN1_TIME_set.3
index b966165fb2..cd6ab937d0 100644
--- a/src/lib/libcrypto/man/ASN1_TIME_set.3
+++ b/src/lib/libcrypto/man/ASN1_TIME_set.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ASN1_TIME_set.3,v 1.16 2021/11/21 17:35:53 schwarze Exp $ 1.\" $OpenBSD: ASN1_TIME_set.3,v 1.17 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
4.\" 4.\"
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: November 21 2021 $ 53.Dd $Mdocdate: March 31 2022 $
54.Dt ASN1_TIME_SET 3 54.Dt ASN1_TIME_SET 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -321,7 +321,7 @@ If both
321.Pf * Fa pday 321.Pf * Fa pday
322and 322and
323.Pf * Fa psec 323.Pf * Fa psec
324are nonzero they will always have the same sign. 324are nonzero, they will always have the same sign.
325The value of 325The value of
326.Pf * Fa psec 326.Pf * Fa psec
327will always be less than the number of seconds in a day. 327will always be less than the number of seconds in a day.
diff --git a/src/lib/libcrypto/man/BIO_f_buffer.3 b/src/lib/libcrypto/man/BIO_f_buffer.3
index 21a6e9a5fe..27baf7270c 100644
--- a/src/lib/libcrypto/man/BIO_f_buffer.3
+++ b/src/lib/libcrypto/man/BIO_f_buffer.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_f_buffer.3,v 1.10 2018/05/01 17:05:05 schwarze Exp $ 1.\" $OpenBSD: BIO_f_buffer.3,v 1.11 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL 9b86974e Mar 19 12:32:14 2016 -0400 2.\" OpenSSL 9b86974e Mar 19 12:32:14 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: May 1 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt BIO_F_BUFFER 3 53.Dt BIO_F_BUFFER 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -132,7 +132,7 @@ bytes of
132.Fa buf . 132.Fa buf .
133If 133If
134.Fa num 134.Fa num
135is larger than the current buffer size the buffer is expanded. 135is larger than the current buffer size, the buffer is expanded.
136.Pp 136.Pp
137Except 137Except
138.Fn BIO_f_buffer , 138.Fn BIO_f_buffer ,
diff --git a/src/lib/libcrypto/man/BIO_s_accept.3 b/src/lib/libcrypto/man/BIO_s_accept.3
index 4ead28b62f..c33abee901 100644
--- a/src/lib/libcrypto/man/BIO_s_accept.3
+++ b/src/lib/libcrypto/man/BIO_s_accept.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_accept.3,v 1.11 2018/05/12 20:12:17 schwarze Exp $ 1.\" $OpenBSD: BIO_s_accept.3,v 1.12 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400 2.\" OpenSSL c03726ca Thu Aug 27 12:28:08 2015 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: May 12 2018 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt BIO_S_ACCEPT 3 52.Dt BIO_S_ACCEPT 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -223,7 +223,7 @@ incoming connection before processing I/O calls.
223When an accept BIO is not at then end of a chain, 223When an accept BIO is not at then end of a chain,
224it passes I/O calls to the next BIO in the chain. 224it passes I/O calls to the next BIO in the chain.
225.Pp 225.Pp
226When a connection is established a new socket BIO is created 226When a connection is established, a new socket BIO is created
227for the connection and appended to the chain. 227for the connection and appended to the chain.
228That is the chain is now accept->socket. 228That is the chain is now accept->socket.
229This effectively means that attempting I/O on an initial accept 229This effectively means that attempting I/O on an initial accept
diff --git a/src/lib/libcrypto/man/BIO_s_bio.3 b/src/lib/libcrypto/man/BIO_s_bio.3
index 171207dfe1..bf4e8738b5 100644
--- a/src/lib/libcrypto/man/BIO_s_bio.3
+++ b/src/lib/libcrypto/man/BIO_s_bio.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_bio.3,v 1.13 2018/05/01 17:05:05 schwarze Exp $ 1.\" $OpenBSD: BIO_s_bio.3,v 1.14 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL c03726ca Aug 27 12:28:08 2015 -0400 2.\" OpenSSL c03726ca Aug 27 12:28:08 2015 -0400
3.\" 3.\"
4.\" This file was written by 4.\" This file was written by
@@ -53,7 +53,7 @@
53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 53.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
54.\" OF THE POSSIBILITY OF SUCH DAMAGE. 54.\" OF THE POSSIBILITY OF SUCH DAMAGE.
55.\" 55.\"
56.Dd $Mdocdate: May 1 2018 $ 56.Dd $Mdocdate: March 31 2022 $
57.Dt BIO_S_BIO 3 57.Dt BIO_S_BIO 3
58.Os 58.Os
59.Sh NAME 59.Sh NAME
@@ -182,7 +182,7 @@ sets the write buffer size of BIO
182.Fa b 182.Fa b
183to 183to
184.Fa size . 184.Fa size .
185If the size is not initialized a default value is used. 185If the size is not initialized, a default value is used.
186This is currently 17K, sufficient for a maximum size TLS record. 186This is currently 17K, sufficient for a maximum size TLS record.
187.Pp 187.Pp
188.Fn BIO_get_write_buf_size 188.Fn BIO_get_write_buf_size
@@ -255,7 +255,7 @@ or
255.Xr SSL_free 3 255.Xr SSL_free 3
256call, the other half still needs to be freed. 256call, the other half still needs to be freed.
257.Pp 257.Pp
258When used in bidirectional applications (such as TLS/SSL) 258When used in bidirectional applications (such as TLS/SSL),
259care should be taken to flush any data in the write buffer. 259care should be taken to flush any data in the write buffer.
260This can be done by calling 260This can be done by calling
261.Xr BIO_pending 3 261.Xr BIO_pending 3
diff --git a/src/lib/libcrypto/man/BIO_s_connect.3 b/src/lib/libcrypto/man/BIO_s_connect.3
index 7ddde85f53..2732e9bc9c 100644
--- a/src/lib/libcrypto/man/BIO_s_connect.3
+++ b/src/lib/libcrypto/man/BIO_s_connect.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_s_connect.3,v 1.11 2018/05/12 20:12:17 schwarze Exp $ 1.\" $OpenBSD: BIO_s_connect.3,v 1.12 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700 2.\" OpenSSL 186bb907 Apr 13 11:05:13 2015 -0700
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: May 12 2018 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt BIO_S_CONNECT 3 52.Dt BIO_S_CONNECT 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -159,7 +159,7 @@ and also returns the socket.
159If 159If
160.Fa c 160.Fa c
161is not 161is not
162.Dv NULL 162.Dv NULL ,
163it should be of type 163it should be of type
164.Vt "int *" . 164.Vt "int *" .
165.Pp 165.Pp
diff --git a/src/lib/libcrypto/man/CMS_get0_RecipientInfos.3 b/src/lib/libcrypto/man/CMS_get0_RecipientInfos.3
index e431b2cb36..094d6ec487 100644
--- a/src/lib/libcrypto/man/CMS_get0_RecipientInfos.3
+++ b/src/lib/libcrypto/man/CMS_get0_RecipientInfos.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CMS_get0_RecipientInfos.3,v 1.7 2019/11/02 15:39:46 schwarze Exp $ 1.\" $OpenBSD: CMS_get0_RecipientInfos.3,v 1.8 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100 2.\" full merge up to: OpenSSL e9b77246 Jan 20 19:58:49 2017 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: November 2 2019 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt CMS_GET0_RECIPIENTINFOS 3 52.Dt CMS_GET0_RECIPIENTINFOS 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -255,7 +255,7 @@ Depending on the type, the
255structure can be ignored or its key identifier data retrieved using 255structure can be ignored or its key identifier data retrieved using
256an appropriate function. 256an appropriate function.
257If the corresponding secret or private key can be obtained by any 257If the corresponding secret or private key can be obtained by any
258appropriate means it can then be associated with the structure and 258appropriate means, it can then be associated with the structure and
259.Fn CMS_RecipientInfo_decrypt 259.Fn CMS_RecipientInfo_decrypt
260called. 260called.
261If successful, 261If successful,
diff --git a/src/lib/libcrypto/man/CRYPTO_set_ex_data.3 b/src/lib/libcrypto/man/CRYPTO_set_ex_data.3
index c78076b8a8..9d72b85642 100644
--- a/src/lib/libcrypto/man/CRYPTO_set_ex_data.3
+++ b/src/lib/libcrypto/man/CRYPTO_set_ex_data.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: CRYPTO_set_ex_data.3,v 1.12 2019/08/16 12:16:22 schwarze Exp $ 1.\" $OpenBSD: CRYPTO_set_ex_data.3,v 1.13 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL CRYPTO_get_ex_new_index 9e183d22 Mar 11 08:56:44 2017 -0500 3.\" OpenSSL CRYPTO_get_ex_new_index 9e183d22 Mar 11 08:56:44 2017 -0500
4.\" selective merge up to: 72a7a702 Feb 26 14:05:09 2019 +0000 4.\" selective merge up to: 72a7a702 Feb 26 14:05:09 2019 +0000
@@ -52,7 +52,7 @@
52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
53.\" OF THE POSSIBILITY OF SUCH DAMAGE. 53.\" OF THE POSSIBILITY OF SUCH DAMAGE.
54.\" 54.\"
55.Dd $Mdocdate: August 16 2019 $ 55.Dd $Mdocdate: March 31 2022 $
56.Dt CRYPTO_SET_EX_DATA 3 56.Dt CRYPTO_SET_EX_DATA 3
57.Os 57.Os
58.Sh NAME 58.Sh NAME
@@ -156,7 +156,7 @@ header file.
156.Pp 156.Pp
157The API described here is used by OpenSSL to manipulate exdata for 157The API described here is used by OpenSSL to manipulate exdata for
158specific structures. 158specific structures.
159Since the application data can be anything at all it is passed and 159Since the application data can be anything at all, it is passed and
160retrieved as a 160retrieved as a
161.Vt void * 161.Vt void *
162type. 162type.
diff --git a/src/lib/libcrypto/man/DES_set_key.3 b/src/lib/libcrypto/man/DES_set_key.3
index da58957d36..e74c7c5e48 100644
--- a/src/lib/libcrypto/man/DES_set_key.3
+++ b/src/lib/libcrypto/man/DES_set_key.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: DES_set_key.3,v 1.14 2019/06/06 01:06:58 schwarze Exp $ 1.\" $OpenBSD: DES_set_key.3,v 1.15 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL man3/DES_random_key 521738e9 Oct 5 14:58:30 2018 -0400 3.\" OpenSSL man3/DES_random_key 521738e9 Oct 5 14:58:30 2018 -0400
4.\" 4.\"
@@ -115,7 +115,7 @@
115.\" copied and put under another distribution licence 115.\" copied and put under another distribution licence
116.\" [including the GNU Public Licence.] 116.\" [including the GNU Public Licence.]
117.\" 117.\"
118.Dd $Mdocdate: June 6 2019 $ 118.Dd $Mdocdate: March 31 2022 $
119.Dt DES_SET_KEY 3 119.Dt DES_SET_KEY 3
120.Os 120.Os
121.Sh NAME 121.Sh NAME
@@ -747,7 +747,7 @@ If set to
747.Dv DES_PCBC_MODE 747.Dv DES_PCBC_MODE
748(the default), DES_pcbc_encrypt is used. 748(the default), DES_pcbc_encrypt is used.
749If set to 749If set to
750.Dv DES_CBC_MODE 750.Dv DES_CBC_MODE ,
751DES_cbc_encrypt is used. 751DES_cbc_encrypt is used.
752.Sh RETURN VALUES 752.Sh RETURN VALUES
753.Fn DES_set_key , 753.Fn DES_set_key ,
diff --git a/src/lib/libcrypto/man/EC_GROUP_new.3 b/src/lib/libcrypto/man/EC_GROUP_new.3
index a02104f967..ef7251fa3d 100644
--- a/src/lib/libcrypto/man/EC_GROUP_new.3
+++ b/src/lib/libcrypto/man/EC_GROUP_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EC_GROUP_new.3,v 1.13 2021/05/11 04:22:32 tb Exp $ 1.\" $OpenBSD: EC_GROUP_new.3,v 1.14 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL 6328d367 Sat Jul 4 21:58:30 2020 +0200 2.\" OpenSSL 6328d367 Sat Jul 4 21:58:30 2020 +0200
3.\" 3.\"
4.\" This file was written by Matt Caswell <matt@openssl.org>. 4.\" This file was written by Matt Caswell <matt@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: May 11 2021 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt EC_GROUP_NEW 3 52.Dt EC_GROUP_NEW 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -288,7 +288,7 @@ item has a unique integer ID
288.Pq Fa nid 288.Pq Fa nid
289and a human readable comment string describing the curve. 289and a human readable comment string describing the curve.
290.Pp 290.Pp
291In order to construct a builtin curve use the function 291In order to construct a builtin curve, use the function
292.Fn EC_GROUP_new_by_curve_name 292.Fn EC_GROUP_new_by_curve_name
293and provide the 293and provide the
294.Fa nid 294.Fa nid
diff --git a/src/lib/libcrypto/man/ERR_put_error.3 b/src/lib/libcrypto/man/ERR_put_error.3
index 142d2eb2bd..7eac5e415c 100644
--- a/src/lib/libcrypto/man/ERR_put_error.3
+++ b/src/lib/libcrypto/man/ERR_put_error.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: ERR_put_error.3,v 1.9 2018/03/27 17:35:50 schwarze Exp $ 1.\" $OpenBSD: ERR_put_error.3,v 1.10 2022/03/31 17:27:16 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org>. 4.\" This file was written by Ulf Moeller <ulf@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: March 27 2018 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt ERR_PUT_ERROR 3 52.Dt ERR_PUT_ERROR 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -128,7 +128,7 @@ Function and reason codes should consist of upper case characters,
128numbers and underscores only. 128numbers and underscores only.
129The error file generation script translates function codes into function 129The error file generation script translates function codes into function
130names by looking in the header files for an appropriate function name. 130names by looking in the header files for an appropriate function name.
131If none is found it just uses the capitalized form such as "SSL23_READ" 131If none is found, it just uses the capitalized form such as "SSL23_READ"
132in the above example. 132in the above example.
133.Pp 133.Pp
134The trailing section of a reason code (after the "_R_") is translated 134The trailing section of a reason code (after the "_R_") is translated
diff --git a/src/lib/libcrypto/man/EVP_DigestInit.3 b/src/lib/libcrypto/man/EVP_DigestInit.3
index 9b2ee4e09f..b9aacf9e9f 100644
--- a/src/lib/libcrypto/man/EVP_DigestInit.3
+++ b/src/lib/libcrypto/man/EVP_DigestInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_DigestInit.3,v 1.22 2022/01/15 09:08:51 tb Exp $ 1.\" $OpenBSD: EVP_DigestInit.3,v 1.23 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000 2.\" full merge up to: OpenSSL 7f572e95 Dec 2 13:57:04 2015 +0000
3.\" selective merge up to: OpenSSL a95d7574 Jul 2 12:16:38 2017 -0400 3.\" selective merge up to: OpenSSL a95d7574 Jul 2 12:16:38 2017 -0400
4.\" 4.\"
@@ -68,7 +68,7 @@
68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
69.\" OF THE POSSIBILITY OF SUCH DAMAGE. 69.\" OF THE POSSIBILITY OF SUCH DAMAGE.
70.\" 70.\"
71.Dd $Mdocdate: January 15 2022 $ 71.Dd $Mdocdate: March 31 2022 $
72.Dt EVP_DIGESTINIT 3 72.Dt EVP_DIGESTINIT 3
73.Os 73.Os
74.Sh NAME 74.Sh NAME
@@ -457,7 +457,7 @@ For example
457.Fn EVP_sha1 457.Fn EVP_sha1
458is associated with RSA so this will return 458is associated with RSA so this will return
459.Dv NID_sha1WithRSAEncryption . 459.Dv NID_sha1WithRSAEncryption .
460Since digests and signature algorithms are no longer linked this 460Since digests and signature algorithms are no longer linked, this
461function is only retained for compatibility reasons. 461function is only retained for compatibility reasons.
462.Pp 462.Pp
463.Fn EVP_md5 , 463.Fn EVP_md5 ,
diff --git a/src/lib/libcrypto/man/EVP_EncryptInit.3 b/src/lib/libcrypto/man/EVP_EncryptInit.3
index 58d18346e1..47527925ba 100644
--- a/src/lib/libcrypto/man/EVP_EncryptInit.3
+++ b/src/lib/libcrypto/man/EVP_EncryptInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_EncryptInit.3,v 1.42 2021/10/14 00:45:02 tb Exp $ 1.\" $OpenBSD: EVP_EncryptInit.3,v 1.43 2022/03/31 17:27:16 naddy Exp $
2.\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800 2.\" full merge up to: OpenSSL 5211e094 Nov 11 14:39:11 2014 -0800
3.\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod 3.\" EVP_bf_cbc.pod EVP_cast5_cbc.pod EVP_idea_cbc.pod EVP_rc2_cbc.pod
4.\" 7c6d372a Nov 20 13:20:01 2018 +0000 4.\" 7c6d372a Nov 20 13:20:01 2018 +0000
@@ -71,7 +71,7 @@
71.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 71.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
72.\" OF THE POSSIBILITY OF SUCH DAMAGE. 72.\" OF THE POSSIBILITY OF SUCH DAMAGE.
73.\" 73.\"
74.Dd $Mdocdate: October 14 2021 $ 74.Dd $Mdocdate: March 31 2022 $
75.Dt EVP_ENCRYPTINIT 3 75.Dt EVP_ENCRYPTINIT 3
76.Os 76.Os
77.Sh NAME 77.Sh NAME
@@ -535,7 +535,7 @@ The encrypted final data is written to
535which should have sufficient space for one cipher block. 535which should have sufficient space for one cipher block.
536The number of bytes written is placed in 536The number of bytes written is placed in
537.Fa outl . 537.Fa outl .
538After this function is called the encryption operation is finished and 538After this function is called, the encryption operation is finished and
539no further calls to 539no further calls to
540.Fn EVP_EncryptUpdate 540.Fn EVP_EncryptUpdate
541should be made. 541should be made.
@@ -754,7 +754,7 @@ This "type" is the actual NID of the cipher OBJECT IDENTIFIER as such it
754ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the 754ignores the cipher parameters and 40-bit RC2 and 128-bit RC2 have the
755same NID. 755same NID.
756If the cipher does not have an object identifier or does not 756If the cipher does not have an object identifier or does not
757have ASN.1 support this function will return 757have ASN.1 support, this function will return
758.Dv NID_undef . 758.Dv NID_undef .
759.Pp 759.Pp
760.Fn EVP_CIPHER_CTX_cipher 760.Fn EVP_CIPHER_CTX_cipher
@@ -842,7 +842,7 @@ block size n will equal the block size.
842For example if the block size is 8 and 11 bytes are to be encrypted then 842For example if the block size is 8 and 11 bytes are to be encrypted then
8435 padding bytes of value 5 will be added. 8435 padding bytes of value 5 will be added.
844.Pp 844.Pp
845When decrypting the final block is checked to see if it has the correct 845When decrypting, the final block is checked to see if it has the correct
846form. 846form.
847.Pp 847.Pp
848Although the decryption operation can produce an error if padding is 848Although the decryption operation can produce an error if padding is
@@ -1374,7 +1374,7 @@ first appeared in LibreSSL 2.8.1 and has been available since
1374and 1374and
1375.Dv EVP_MAX_IV_LENGTH 1375.Dv EVP_MAX_IV_LENGTH
1376only refer to the internal ciphers with default key lengths. 1376only refer to the internal ciphers with default key lengths.
1377If custom ciphers exceed these values the results are unpredictable. 1377If custom ciphers exceed these values, the results are unpredictable.
1378This is because it has become standard practice to define a generic key 1378This is because it has become standard practice to define a generic key
1379as a fixed unsigned char array containing 1379as a fixed unsigned char array containing
1380.Dv EVP_MAX_KEY_LENGTH 1380.Dv EVP_MAX_KEY_LENGTH
diff --git a/src/lib/libcrypto/man/EVP_PKEY_decrypt.3 b/src/lib/libcrypto/man/EVP_PKEY_decrypt.3
index cdae726c42..af5ed93fba 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_decrypt.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_decrypt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_decrypt.3,v 1.7 2018/03/23 04:34:23 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_decrypt.3,v 1.8 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL 48e5119a Jan 19 10:49:22 2018 +0100 2.\" full merge up to: OpenSSL 48e5119a Jan 19 10:49:22 2018 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 23 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt EVP_PKEY_DECRYPT 3 53.Dt EVP_PKEY_DECRYPT 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -102,7 +102,7 @@ then before the call the
102parameter should contain the length of the 102parameter should contain the length of the
103.Fa out 103.Fa out
104buffer. 104buffer.
105If the call is successful the decrypted data is written to 105If the call is successful, the decrypted data is written to
106.Fa out 106.Fa out
107and the amount of data written to 107and the amount of data written to
108.Fa outlen . 108.Fa outlen .
diff --git a/src/lib/libcrypto/man/EVP_PKEY_encrypt.3 b/src/lib/libcrypto/man/EVP_PKEY_encrypt.3
index a627c2abb6..210c43d6d8 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_encrypt.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_encrypt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_encrypt.3,v 1.6 2018/03/23 04:34:23 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_encrypt.3,v 1.7 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 23 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt EVP_PKEY_ENCRYPT 3 53.Dt EVP_PKEY_ENCRYPT 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -102,7 +102,7 @@ then before the call the
102parameter should contain the length of the 102parameter should contain the length of the
103.Fa out 103.Fa out
104buffer. 104buffer.
105If the call is successful the encrypted data is written to 105If the call is successful, the encrypted data is written to
106.Fa out 106.Fa out
107and the amount of data written to 107and the amount of data written to
108.Fa outlen . 108.Fa outlen .
diff --git a/src/lib/libcrypto/man/EVP_PKEY_sign.3 b/src/lib/libcrypto/man/EVP_PKEY_sign.3
index efbea950c9..fbd8e66376 100644
--- a/src/lib/libcrypto/man/EVP_PKEY_sign.3
+++ b/src/lib/libcrypto/man/EVP_PKEY_sign.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_PKEY_sign.3,v 1.7 2018/03/23 04:34:23 schwarze Exp $ 1.\" $OpenBSD: EVP_PKEY_sign.3,v 1.8 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 23 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt EVP_PKEY_SIGN 3 53.Dt EVP_PKEY_SIGN 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -102,7 +102,7 @@ then before the call the
102parameter should contain the length of the 102parameter should contain the length of the
103.Fa sig 103.Fa sig
104buffer. 104buffer.
105If the call is successful the signature is written to 105If the call is successful, the signature is written to
106.Fa sig 106.Fa sig
107and the amount of data written to 107and the amount of data written to
108.Fa siglen . 108.Fa siglen .
diff --git a/src/lib/libcrypto/man/EVP_SignInit.3 b/src/lib/libcrypto/man/EVP_SignInit.3
index a53d059b46..06aeb2f141 100644
--- a/src/lib/libcrypto/man/EVP_SignInit.3
+++ b/src/lib/libcrypto/man/EVP_SignInit.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EVP_SignInit.3,v 1.14 2019/06/10 14:58:48 schwarze Exp $ 1.\" $OpenBSD: EVP_SignInit.3,v 1.15 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" selective merge up to: OpenSSL 79b49fb0 Mar 20 10:03:10 2018 +1000 3.\" selective merge up to: OpenSSL 79b49fb0 Mar 20 10:03:10 2018 +1000
4.\" 4.\"
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: June 10 2019 $ 53.Dd $Mdocdate: March 31 2022 $
54.Dt EVP_SIGNINIT 3 54.Dt EVP_SIGNINIT 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -217,7 +217,7 @@ could not be made after calling
217.Fn EVP_SignFinal . 217.Fn EVP_SignFinal .
218.Pp 218.Pp
219Since the private key is passed in the call to 219Since the private key is passed in the call to
220.Fn EVP_SignFinal 220.Fn EVP_SignFinal ,
221any error relating to the private key (for example an unsuitable key and 221any error relating to the private key (for example an unsuitable key and
222digest combination) will not be indicated until after potentially large 222digest combination) will not be indicated until after potentially large
223amounts of data have been passed through 223amounts of data have been passed through
diff --git a/src/lib/libcrypto/man/OBJ_nid2obj.3 b/src/lib/libcrypto/man/OBJ_nid2obj.3
index 511bf8567a..4b35762dcf 100644
--- a/src/lib/libcrypto/man/OBJ_nid2obj.3
+++ b/src/lib/libcrypto/man/OBJ_nid2obj.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OBJ_nid2obj.3,v 1.18 2021/12/18 17:47:45 schwarze Exp $ 1.\" $OpenBSD: OBJ_nid2obj.3,v 1.19 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL c264592d May 14 11:28:00 2006 +0000 2.\" full merge up to: OpenSSL c264592d May 14 11:28:00 2006 +0000
3.\" selective merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200 3.\" selective merge up to: OpenSSL 35fd9953 May 28 14:49:38 2019 +0200
4.\" 4.\"
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: December 18 2021 $ 70.Dd $Mdocdate: March 31 2022 $
71.Dt OBJ_NID2OBJ 3 71.Dt OBJ_NID2OBJ 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -206,7 +206,7 @@ is 0 then long names and short names will be interpreted as well as
206numerical forms. 206numerical forms.
207If 207If
208.Fa no_name 208.Fa no_name
209is 1 only the numerical form is acceptable. 209is 1, only the numerical form is acceptable.
210.Pp 210.Pp
211.Fn OBJ_obj2txt 211.Fn OBJ_obj2txt
212converts the 212converts the
diff --git a/src/lib/libcrypto/man/OCSP_cert_to_id.3 b/src/lib/libcrypto/man/OCSP_cert_to_id.3
index f2ed8b1154..73a21867b9 100644
--- a/src/lib/libcrypto/man/OCSP_cert_to_id.3
+++ b/src/lib/libcrypto/man/OCSP_cert_to_id.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_cert_to_id.3,v 1.11 2021/08/06 21:45:55 schwarze Exp $ 1.\" $OpenBSD: OCSP_cert_to_id.3,v 1.12 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: August 6 2021 $ 68.Dd $Mdocdate: March 31 2022 $
69.Dt OCSP_CERT_TO_ID 3 69.Dt OCSP_CERT_TO_ID 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -180,7 +180,7 @@ and
180returns the issuer name hash, hash OID, issuer key hash and serial 180returns the issuer name hash, hash OID, issuer key hash and serial
181number contained in 181number contained in
182.Fa cid . 182.Fa cid .
183If any of the values are not required the corresponding parameter can be 183If any of the values are not required, the corresponding parameter can be
184set to 184set to
185.Dv NULL . 185.Dv NULL .
186The values returned by 186The values returned by
diff --git a/src/lib/libcrypto/man/OCSP_resp_find_status.3 b/src/lib/libcrypto/man/OCSP_resp_find_status.3
index bcfefb5754..06d0354bd6 100644
--- a/src/lib/libcrypto/man/OCSP_resp_find_status.3
+++ b/src/lib/libcrypto/man/OCSP_resp_find_status.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_resp_find_status.3,v 1.10 2019/08/27 10:00:41 schwarze Exp $ 1.\" $OpenBSD: OCSP_resp_find_status.3,v 1.11 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL c952780c Jun 21 07:03:34 2016 -0400 2.\" full merge up to: OpenSSL c952780c Jun 21 07:03:34 2016 -0400
3.\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100 3.\" selective merge up to: OpenSSL 1212818e Sep 11 13:22:14 2018 +0100
4.\" 4.\"
@@ -67,7 +67,7 @@
67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 67.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
68.\" OF THE POSSIBILITY OF SUCH DAMAGE. 68.\" OF THE POSSIBILITY OF SUCH DAMAGE.
69.\" 69.\"
70.Dd $Mdocdate: August 27 2019 $ 70.Dd $Mdocdate: March 31 2022 $
71.Dt OCSP_RESP_FIND_STATUS 3 71.Dt OCSP_RESP_FIND_STATUS 3
72.Os 72.Os
73.Sh NAME 73.Sh NAME
@@ -295,11 +295,11 @@ or
295.Fn OCSP_single_get0_status . 295.Fn OCSP_single_get0_status .
296If 296If
297.Fa sec 297.Fa sec
298is non-zero it indicates how many seconds leeway should be allowed in 298is non-zero, it indicates how many seconds leeway should be allowed in
299the check. 299the check.
300If 300If
301.Fa maxsec 301.Fa maxsec
302is positive it indicates the maximum age of 302is positive, it indicates the maximum age of
303.Fa thisupd 303.Fa thisupd
304in seconds. 304in seconds.
305.Pp 305.Pp
diff --git a/src/lib/libcrypto/man/OCSP_sendreq_new.3 b/src/lib/libcrypto/man/OCSP_sendreq_new.3
index c8107c4d58..300f719525 100644
--- a/src/lib/libcrypto/man/OCSP_sendreq_new.3
+++ b/src/lib/libcrypto/man/OCSP_sendreq_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: OCSP_sendreq_new.3,v 1.9 2019/08/27 10:48:41 schwarze Exp $ 1.\" $OpenBSD: OCSP_sendreq_new.3,v 1.10 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" full merge up to: OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: August 27 2019 $ 68.Dd $Mdocdate: March 31 2022 $
69.Dt OCSP_SENDREQ_NEW 3 69.Dt OCSP_SENDREQ_NEW 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -159,7 +159,7 @@ should be set to
159.Fn OCSP_sendreq_nbio 159.Fn OCSP_sendreq_nbio
160performs non-blocking I/O on the OCSP request context 160performs non-blocking I/O on the OCSP request context
161.Fa rctx . 161.Fa rctx .
162When the operation is complete it returns the response in 162When the operation is complete, it returns the response in
163.Pf * Fa presp . 163.Pf * Fa presp .
164If 164If
165.Fn OCSP_sendreq_nbio 165.Fn OCSP_sendreq_nbio
diff --git a/src/lib/libcrypto/man/PKCS12_create.3 b/src/lib/libcrypto/man/PKCS12_create.3
index d19a6f3e44..bc00d3df78 100644
--- a/src/lib/libcrypto/man/PKCS12_create.3
+++ b/src/lib/libcrypto/man/PKCS12_create.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: PKCS12_create.3,v 1.11 2021/10/22 15:50:19 schwarze Exp $ 1.\" $OpenBSD: PKCS12_create.3,v 1.12 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400 2.\" full merge up to: OpenSSL 05ea606a May 20 20:52:46 2016 -0400
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: October 22 2021 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt PKCS12_CREATE 3 53.Dt PKCS12_CREATE 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -137,10 +137,10 @@ should be set to PKCS12_DEFAULT_ITER.
137adds a flag to the store private key. 137adds a flag to the store private key.
138This is a non-standard extension that is only currently interpreted by 138This is a non-standard extension that is only currently interpreted by
139MSIE. 139MSIE.
140If set to zero the flag is omitted; if set to 140If set to zero, the flag is omitted; if set to
141.Dv KEY_SIG 141.Dv KEY_SIG ,
142the key can be used for signing only; and if set to 142the key can be used for signing only; and if set to
143.Dv KEY_EX 143.Dv KEY_EX ,
144it can be used for signing and encryption. 144it can be used for signing and encryption.
145This option was useful for old export grade software which could use 145This option was useful for old export grade software which could use
146signing only keys of arbitrary size but had restrictions on the 146signing only keys of arbitrary size but had restrictions on the
diff --git a/src/lib/libcrypto/man/PKCS7_verify.3 b/src/lib/libcrypto/man/PKCS7_verify.3
index 2895da16d8..d091c03dfd 100644
--- a/src/lib/libcrypto/man/PKCS7_verify.3
+++ b/src/lib/libcrypto/man/PKCS7_verify.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: PKCS7_verify.3,v 1.10 2022/01/19 20:28:06 tb Exp $ 1.\" $OpenBSD: PKCS7_verify.3,v 1.11 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400 2.\" OpenSSL a528d4f0 Oct 27 13:40:11 2015 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: January 19 2022 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt PKCS7_VERIFY 3 52.Dt PKCS7_VERIFY 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -133,13 +133,13 @@ parameter (if it is not
133and then looking in any certificates contained in the 133and then looking in any certificates contained in the
134.Fa p7 134.Fa p7
135structure itself. 135structure itself.
136If any signer's certificates cannot be located the operation fails. 136If any signer's certificates cannot be located, the operation fails.
137.Pp 137.Pp
138Each signer's certificate is chain verified using the 138Each signer's certificate is chain verified using the
139.Sy smimesign 139.Sy smimesign
140purpose and the supplied trusted certificate store. 140purpose and the supplied trusted certificate store.
141Any internal certificates in the message are used as untrusted CAs. 141Any internal certificates in the message are used as untrusted CAs.
142If any chain verify fails an error code is returned. 142If any chain verify fails, an error code is returned.
143.Pp 143.Pp
144Finally, the signed content is read (and written to 144Finally, the signed content is read (and written to
145.Fa out 145.Fa out
diff --git a/src/lib/libcrypto/man/RSA_get_ex_new_index.3 b/src/lib/libcrypto/man/RSA_get_ex_new_index.3
index cf3d3f6fd7..ee1e0e82f7 100644
--- a/src/lib/libcrypto/man/RSA_get_ex_new_index.3
+++ b/src/lib/libcrypto/man/RSA_get_ex_new_index.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: RSA_get_ex_new_index.3,v 1.10 2018/03/23 23:18:17 schwarze Exp $ 1.\" $OpenBSD: RSA_get_ex_new_index.3,v 1.11 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL 35cb565a Nov 19 15:49:30 2015 -0500 2.\" OpenSSL 35cb565a Nov 19 15:49:30 2015 -0500
3.\" 3.\"
4.\" This file was written by Ulf Moeller <ulf@openssl.org> and 4.\" This file was written by Ulf Moeller <ulf@openssl.org> and
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 23 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt RSA_GET_EX_NEW_INDEX 3 53.Dt RSA_GET_EX_NEW_INDEX 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -117,7 +117,7 @@ with a structure (for example the hash of some part of the structure) or
117some additional data (for example a handle to the data in an external 117some additional data (for example a handle to the data in an external
118library). 118library).
119.Pp 119.Pp
120Since the application data can be anything at all it is passed and 120Since the application data can be anything at all, it is passed and
121retrieved as a 121retrieved as a
122.Vt void * 122.Vt void *
123type. 123type.
diff --git a/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3 b/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
index cd7e94d4e1..3c1237d20e 100644
--- a/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
+++ b/src/lib/libcrypto/man/X509_NAME_add_entry_by_txt.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_NAME_add_entry_by_txt.3,v 1.15 2021/12/09 19:01:52 schwarze Exp $ 1.\" $OpenBSD: X509_NAME_add_entry_by_txt.3,v 1.16 2022/03/31 17:27:17 naddy Exp $
2.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400 2.\" OpenSSL aebb9aac Jul 19 09:27:53 2016 -0400
3.\" 3.\"
4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>. 4.\" This file was written by Dr. Stephen Henson <steve@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: December 9 2021 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt X509_NAME_ADD_ENTRY_BY_TXT 3 53.Dt X509_NAME_ADD_ENTRY_BY_TXT 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -205,11 +205,11 @@ if it is -1 it is appended.
205.Pp 205.Pp
206.Fa set 206.Fa set
207determines how the new type is added. 207determines how the new type is added.
208If it is zero a new RDN is created. 208If it is zero, a new RDN is created.
209.Pp 209.Pp
210If 210If
211.Fa set 211.Fa set
212is -1 or 1 it is added to the previous or next RDN structure 212is -1 or 1, it is added to the previous or next RDN structure
213respectively. 213respectively.
214This will then be a multivalued RDN: since multivalue RDNs are very 214This will then be a multivalued RDN: since multivalue RDNs are very
215seldom used, 215seldom used,
diff --git a/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3 b/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
index 8964d612b2..fdcfd4834e 100644
--- a/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
+++ b/src/lib/libcrypto/man/X509_VERIFY_PARAM_set_flags.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_VERIFY_PARAM_set_flags.3,v 1.24 2022/03/29 14:27:59 naddy Exp $ 1.\" $OpenBSD: X509_VERIFY_PARAM_set_flags.3,v 1.25 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL d33def66 Feb 9 14:17:13 2016 -0500 2.\" full merge up to: OpenSSL d33def66 Feb 9 14:17:13 2016 -0500
3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100 3.\" selective merge up to: OpenSSL 24a535ea Sep 22 13:14:20 2020 +0100
4.\" 4.\"
@@ -68,7 +68,7 @@
68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 68.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
69.\" OF THE POSSIBILITY OF SUCH DAMAGE. 69.\" OF THE POSSIBILITY OF SUCH DAMAGE.
70.\" 70.\"
71.Dd $Mdocdate: March 29 2022 $ 71.Dd $Mdocdate: March 31 2022 $
72.Dt X509_VERIFY_PARAM_SET_FLAGS 3 72.Dt X509_VERIFY_PARAM_SET_FLAGS 3
73.Os 73.Os
74.Sh NAME 74.Sh NAME
@@ -493,7 +493,7 @@ enables CRL checking for the entire certificate chain.
493disables critical extension checking. 493disables critical extension checking.
494By default any unhandled critical extensions in certificates or (if 494By default any unhandled critical extensions in certificates or (if
495checked) CRLs results in a fatal error. 495checked) CRLs results in a fatal error.
496If this flag is set unhandled critical extensions are ignored. 496If this flag is set, unhandled critical extensions are ignored.
497.Sy WARNING : 497.Sy WARNING :
498setting this option for anything other than debugging purposes can be a 498setting this option for anything other than debugging purposes can be a
499security risk. 499security risk.
@@ -539,7 +539,7 @@ By default some additional features such as indirect CRLs and CRLs
539signed by different keys are disabled. 539signed by different keys are disabled.
540If 540If
541.Dv X509_V_FLAG_EXTENDED_CRL_SUPPORT 541.Dv X509_V_FLAG_EXTENDED_CRL_SUPPORT
542is set they are enabled. 542is set, they are enabled.
543.Pp 543.Pp
544If 544If
545.Dv X509_V_FLAG_USE_DELTAS 545.Dv X509_V_FLAG_USE_DELTAS
diff --git a/src/lib/libcrypto/man/X509_get_pubkey.3 b/src/lib/libcrypto/man/X509_get_pubkey.3
index 506404d9ac..0829397982 100644
--- a/src/lib/libcrypto/man/X509_get_pubkey.3
+++ b/src/lib/libcrypto/man/X509_get_pubkey.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: X509_get_pubkey.3,v 1.12 2021/10/26 18:05:07 tb Exp $ 1.\" $OpenBSD: X509_get_pubkey.3,v 1.13 2022/03/31 17:27:17 naddy Exp $
2.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400 2.\" selective merge up to: OpenSSL 99d63d46 Oct 26 13:56:48 2016 -0400
3.\" 3.\"
4.\" This file is a derived work. 4.\" This file is a derived work.
@@ -65,7 +65,7 @@
65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 65.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
66.\" OF THE POSSIBILITY OF SUCH DAMAGE. 66.\" OF THE POSSIBILITY OF SUCH DAMAGE.
67.\" 67.\"
68.Dd $Mdocdate: October 26 2021 $ 68.Dd $Mdocdate: March 31 2022 $
69.Dt X509_GET_PUBKEY 3 69.Dt X509_GET_PUBKEY 3
70.Os 70.Os
71.Sh NAME 71.Sh NAME
@@ -128,7 +128,7 @@
128.Fn X509_get_pubkey 128.Fn X509_get_pubkey
129attempts to decode the public key for certificate 129attempts to decode the public key for certificate
130.Fa x . 130.Fa x .
131If successful it returns the public key as an 131If successful, it returns the public key as an
132.Vt EVP_PKEY 132.Vt EVP_PKEY
133pointer with its reference count incremented: this means the returned 133pointer with its reference count incremented: this means the returned
134key must be freed up after use. 134key must be freed up after use.
diff --git a/src/lib/libcrypto/man/lh_new.3 b/src/lib/libcrypto/man/lh_new.3
index a9ac283a90..c848eed825 100644
--- a/src/lib/libcrypto/man/lh_new.3
+++ b/src/lib/libcrypto/man/lh_new.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: lh_new.3,v 1.8 2021/12/17 16:32:07 schwarze Exp $ 1.\" $OpenBSD: lh_new.3,v 1.9 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL doc/crypto/lhash.pod 1bc74519 May 20 08:11:46 2016 -0400 3.\" OpenSSL doc/crypto/lhash.pod 1bc74519 May 20 08:11:46 2016 -0400
4.\" selective merge up to: 4.\" selective merge up to:
@@ -118,7 +118,7 @@
118.\" copied and put under another distribution licence 118.\" copied and put under another distribution licence
119.\" [including the GNU Public Licence.] 119.\" [including the GNU Public Licence.]
120.\" 120.\"
121.Dd $Mdocdate: December 17 2021 $ 121.Dd $Mdocdate: March 31 2022 $
122.Dt LH_NEW 3 122.Dt LH_NEW 3
123.Os 123.Os
124.Sh NAME 124.Sh NAME
@@ -488,7 +488,7 @@ The load is the number of items in the hash table divided by the size of
488the hash table. 488the hash table.
489The default values are as follows. 489The default values are as follows.
490If (hash->up_load < load) => expand. 490If (hash->up_load < load) => expand.
491if (hash->down_load > load) => contract. 491If (hash->down_load > load) => contract.
492The 492The
493.Fa up_load 493.Fa up_load
494has a default value of 1 and 494has a default value of 1 and
@@ -503,12 +503,12 @@ variables.
503The 'load' is kept in a form which is multiplied by 256. 503The 'load' is kept in a form which is multiplied by 256.
504So hash->up_load=8*256 will cause a load of 8 to be set. 504So hash->up_load=8*256 will cause a load of 8 to be set.
505.Pp 505.Pp
506If you are interested in performance the field to watch is 506If you are interested in performance, the field to watch is
507.Fa num_comp_calls . 507.Fa num_comp_calls .
508The hash library keeps track of the 'hash' value for each item so when a 508The hash library keeps track of the 'hash' value for each item so when a
509lookup is done, the 'hashes' are compared, if there is a match, then a 509lookup is done, the 'hashes' are compared, if there is a match, then a
510full compare is done, and hash->num_comp_calls is incremented. 510full compare is done, and hash->num_comp_calls is incremented.
511If num_comp_calls is not equal to num_delete plus num_retrieve it means 511If num_comp_calls is not equal to num_delete plus num_retrieve, it means
512that your hash function is generating hashes that are the same for 512that your hash function is generating hashes that are the same for
513different values. 513different values.
514It is probably worth changing your hash function if this is the case 514It is probably worth changing your hash function if this is the case
diff --git a/src/lib/libcrypto/man/openssl.cnf.5 b/src/lib/libcrypto/man/openssl.cnf.5
index ae56869b8b..48ca66cf4b 100644
--- a/src/lib/libcrypto/man/openssl.cnf.5
+++ b/src/lib/libcrypto/man/openssl.cnf.5
@@ -1,4 +1,4 @@
1.\" $OpenBSD: openssl.cnf.5,v 1.7 2020/02/17 12:52:42 inoguchi Exp $ 1.\" $OpenBSD: openssl.cnf.5,v 1.8 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: OpenSSL man5/config b53338cb Feb 28 12:30:28 2017 +0100 2.\" full merge up to: OpenSSL man5/config b53338cb Feb 28 12:30:28 2017 +0100
3.\" selective merge up to: OpenSSL a8c5ed81 Jul 18 13:57:25 2017 -0400 3.\" selective merge up to: OpenSSL a8c5ed81 Jul 18 13:57:25 2017 -0400
4.\" 4.\"
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: February 17 2020 $ 53.Dd $Mdocdate: March 31 2022 $
54.Dt OPENSSL.CNF 5 54.Dt OPENSSL.CNF 5
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -265,7 +265,7 @@ bar = bar_section
265The command 265The command
266.Ic engine_id 266.Ic engine_id
267is used to give the ENGINE name. 267is used to give the ENGINE name.
268If used this command must be first. 268If used, this command must be first.
269For example: 269For example:
270.Bd -literal -offset indent 270.Bd -literal -offset indent
271[engine_section] 271[engine_section]
@@ -305,7 +305,7 @@ The command
305sets the default algorithms an ENGINE will supply using the functions 305sets the default algorithms an ENGINE will supply using the functions
306.Xr ENGINE_set_default_string 3 . 306.Xr ENGINE_set_default_string 3 .
307.Pp 307.Pp
308If the name matches none of the above command names it is assumed 308If the name matches none of the above command names, it is assumed
309to be a ctrl command which is sent to the ENGINE. 309to be a ctrl command which is sent to the ENGINE.
310The value of the command is the argument to the ctrl command. 310The value of the command is the argument to the ctrl command.
311If the value is the string 311If the value is the string
diff --git a/src/lib/libcrypto/man/x509v3.cnf.5 b/src/lib/libcrypto/man/x509v3.cnf.5
index 392c44d456..89f52d6a01 100644
--- a/src/lib/libcrypto/man/x509v3.cnf.5
+++ b/src/lib/libcrypto/man/x509v3.cnf.5
@@ -1,4 +1,4 @@
1.\" $OpenBSD: x509v3.cnf.5,v 1.7 2020/06/11 18:03:19 jmc Exp $ 1.\" $OpenBSD: x509v3.cnf.5,v 1.8 2022/03/31 17:27:17 naddy Exp $
2.\" full merge up to: 2.\" full merge up to:
3.\" OpenSSL man5/x509v3_config a41815f0 Mar 17 18:43:53 2017 -0700 3.\" OpenSSL man5/x509v3_config a41815f0 Mar 17 18:43:53 2017 -0700
4.\" selective merge up to: OpenSSL 36cf10cf Oct 4 02:11:08 2017 -0400 4.\" selective merge up to: OpenSSL 36cf10cf Oct 4 02:11:08 2017 -0400
@@ -51,7 +51,7 @@
51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 51.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
52.\" OF THE POSSIBILITY OF SUCH DAMAGE. 52.\" OF THE POSSIBILITY OF SUCH DAMAGE.
53.\" 53.\"
54.Dd $Mdocdate: June 11 2020 $ 54.Dd $Mdocdate: March 31 2022 $
55.Dt X509V3.CNF 5 55.Dt X509V3.CNF 5
56.Os 56.Os
57.Sh NAME 57.Sh NAME
@@ -163,7 +163,7 @@ parameter indicates the maximum number of CAs that can appear below
163this one in a chain. 163this one in a chain.
164So if you have a CA with a 164So if you have a CA with a
165.Ic pathlen 165.Ic pathlen
166of zero it can only be used to sign end user certificates and not 166of zero, it can only be used to sign end user certificates and not
167further CAs. 167further CAs.
168.Ss Key usage 168.Ss Key usage
169Key usage is a multi-valued extension consisting of a list of names of 169Key usage is a multi-valued extension consisting of a list of names of
diff --git a/src/lib/libssl/man/BIO_f_ssl.3 b/src/lib/libssl/man/BIO_f_ssl.3
index 8643200285..5e18a85bd1 100644
--- a/src/lib/libssl/man/BIO_f_ssl.3
+++ b/src/lib/libssl/man/BIO_f_ssl.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BIO_f_ssl.3,v 1.11 2019/06/12 09:36:30 schwarze Exp $ 1.\" $OpenBSD: BIO_f_ssl.3,v 1.12 2022/03/31 17:27:18 naddy Exp $
2.\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500 2.\" full merge up to: OpenSSL f672aee4 Feb 9 11:52:40 2016 -0500
3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800 3.\" selective merge up to: OpenSSL 61f805c1 Jan 16 01:01:46 2018 +0800
4.\" 4.\"
@@ -50,7 +50,7 @@
50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 50.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
51.\" OF THE POSSIBILITY OF SUCH DAMAGE. 51.\" OF THE POSSIBILITY OF SUCH DAMAGE.
52.\" 52.\"
53.Dd $Mdocdate: June 12 2019 $ 53.Dd $Mdocdate: March 31 2022 $
54.Dt BIO_F_SSL 3 54.Dt BIO_F_SSL 3
55.Os 55.Os
56.Sh NAME 56.Sh NAME
@@ -147,7 +147,7 @@ is appended to an
147.Vt SSL 147.Vt SSL
148.Vt BIO 148.Vt BIO
149using 149using
150.Xr BIO_push 3 150.Xr BIO_push 3 ,
151it is automatically used as the 151it is automatically used as the
152.Vt SSL 152.Vt SSL
153.Vt BIO Ns 's read and write 153.Vt BIO Ns 's read and write
@@ -213,7 +213,7 @@ is 0, server mode is set.
213.Fn BIO_set_ssl_renegotiate_bytes 213.Fn BIO_set_ssl_renegotiate_bytes
214sets the renegotiate byte count to 214sets the renegotiate byte count to
215.Fa num . 215.Fa num .
216When set after every 216When set, after every
217.Fa num 217.Fa num
218bytes of I/O (read and write) the SSL session is automatically renegotiated. 218bytes of I/O (read and write) the SSL session is automatically renegotiated.
219.Fa num 219.Fa num
@@ -222,7 +222,7 @@ must be at least 512 bytes.
222.Fn BIO_set_ssl_renegotiate_timeout 222.Fn BIO_set_ssl_renegotiate_timeout
223sets the renegotiate timeout to 223sets the renegotiate timeout to
224.Fa seconds . 224.Fa seconds .
225When the renegotiate timeout elapses the session is automatically renegotiated. 225When the renegotiate timeout elapses, the session is automatically renegotiated.
226.Pp 226.Pp
227.Fn BIO_get_num_renegotiates 227.Fn BIO_get_num_renegotiates
228returns the total number of session renegotiations due to I/O or timeout. 228returns the total number of session renegotiations due to I/O or timeout.
@@ -303,7 +303,7 @@ established; the call
303should be used for non blocking connect 303should be used for non blocking connect
304.Vt BIO Ns s 304.Vt BIO Ns s
305to determine if the call should be retried. 305to determine if the call should be retried.
306If an SSL connection has already been established this call has no effect. 306If an SSL connection has already been established, this call has no effect.
307.Pp 307.Pp
308.Vt SSL 308.Vt SSL
309.Vt BIO Ns s 309.Vt BIO Ns s
@@ -325,7 +325,7 @@ using a blocking transport will never request a retry.
325Since unknown 325Since unknown
326.Xr BIO_ctrl 3 326.Xr BIO_ctrl 3
327operations are sent through filter 327operations are sent through filter
328.Vt BIO Ns s 328.Vt BIO Ns s ,
329the server name and port can be set using 329the server name and port can be set using
330.Xr BIO_set_conn_hostname 3 330.Xr BIO_set_conn_hostname 3
331and 331and
diff --git a/src/lib/libssl/man/SSL_CTX_set_options.3 b/src/lib/libssl/man/SSL_CTX_set_options.3
index 34c3a1adfd..5df0b07785 100644
--- a/src/lib/libssl/man/SSL_CTX_set_options.3
+++ b/src/lib/libssl/man/SSL_CTX_set_options.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SSL_CTX_set_options.3,v 1.15 2021/06/12 11:02:20 tb Exp $ 1.\" $OpenBSD: SSL_CTX_set_options.3,v 1.16 2022/03/31 17:27:18 naddy Exp $
2.\" full merge up to: OpenSSL 7946ab33 Dec 6 17:56:41 2015 +0100 2.\" full merge up to: OpenSSL 7946ab33 Dec 6 17:56:41 2015 +0100
3.\" selective merge up to: OpenSSL edb79c3a Mar 29 10:07:14 2017 +1000 3.\" selective merge up to: OpenSSL edb79c3a Mar 29 10:07:14 2017 +1000
4.\" 4.\"
@@ -52,7 +52,7 @@
52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 52.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
53.\" OF THE POSSIBILITY OF SUCH DAMAGE. 53.\" OF THE POSSIBILITY OF SUCH DAMAGE.
54.\" 54.\"
55.Dd $Mdocdate: June 12 2021 $ 55.Dd $Mdocdate: March 31 2022 $
56.Dt SSL_CTX_SET_OPTIONS 3 56.Dt SSL_CTX_SET_OPTIONS 3
57.Os 57.Os
58.Sh NAME 58.Sh NAME
@@ -206,7 +206,7 @@ Normally clients and servers using TLSv1.2 and earlier will, where possible,
206transparently make use of 206transparently make use of
207RFC 5077 tickets for stateless session resumption. 207RFC 5077 tickets for stateless session resumption.
208.Pp 208.Pp
209If this option is set this functionality is disabled and tickets will not be 209If this option is set, this functionality is disabled and tickets will not be
210used by clients or servers. 210used by clients or servers.
211.It Dv SSL_OP_NO_TLSv1 211.It Dv SSL_OP_NO_TLSv1
212Do not use the TLSv1.0 protocol. 212Do not use the TLSv1.0 protocol.
@@ -273,7 +273,7 @@ server with a
273.Em no_renegotiation 273.Em no_renegotiation
274warning alert. 274warning alert.
275.Pp 275.Pp
276If the patched OpenSSL server attempts to renegotiate a fatal 276If the patched OpenSSL server attempts to renegotiate, a fatal
277.Em handshake_failure 277.Em handshake_failure
278alert is sent. 278alert is sent.
279This is because the server code may be unaware of the unpatched nature of the 279This is because the server code may be unaware of the unpatched nature of the
@@ -306,7 +306,7 @@ them initially) and this is clearly not acceptable.
306Renegotiation is permitted because this does not add any additional security 306Renegotiation is permitted because this does not add any additional security
307issues: during an attack clients do not see any renegotiations anyway. 307issues: during an attack clients do not see any renegotiations anyway.
308.Pp 308.Pp
309As more servers become patched the option 309As more servers become patched, the option
310.Dv SSL_OP_LEGACY_SERVER_CONNECT 310.Dv SSL_OP_LEGACY_SERVER_CONNECT
311will 311will
312.Em not 312.Em not
diff --git a/src/lib/libssl/man/SSL_CTX_set_tmp_dh_callback.3 b/src/lib/libssl/man/SSL_CTX_set_tmp_dh_callback.3
index ae0349584a..8be504d3b3 100644
--- a/src/lib/libssl/man/SSL_CTX_set_tmp_dh_callback.3
+++ b/src/lib/libssl/man/SSL_CTX_set_tmp_dh_callback.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SSL_CTX_set_tmp_dh_callback.3,v 1.9 2022/02/18 23:17:15 jsg Exp $ 1.\" $OpenBSD: SSL_CTX_set_tmp_dh_callback.3,v 1.10 2022/03/31 17:27:18 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. 4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -48,7 +48,7 @@
48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 48.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
49.\" OF THE POSSIBILITY OF SUCH DAMAGE. 49.\" OF THE POSSIBILITY OF SUCH DAMAGE.
50.\" 50.\"
51.Dd $Mdocdate: February 18 2022 $ 51.Dd $Mdocdate: March 31 2022 $
52.Dt SSL_CTX_SET_TMP_DH_CALLBACK 3 52.Dt SSL_CTX_SET_TMP_DH_CALLBACK 3
53.Os 53.Os
54.Sh NAME 54.Sh NAME
@@ -117,7 +117,7 @@ when the application is left, it becomes impossible for attackers to decrypt
117past sessions, even if they get hold of the normal (certified) key, 117past sessions, even if they get hold of the normal (certified) key,
118as this key was only used for signing. 118as this key was only used for signing.
119.Pp 119.Pp
120In order to perform a DH key exchange the server must use a DH group 120In order to perform a DH key exchange, the server must use a DH group
121(DH parameters) and generate a DH key. 121(DH parameters) and generate a DH key.
122The server will always generate a new DH key during the negotiation. 122The server will always generate a new DH key during the negotiation.
123.Pp 123.Pp
diff --git a/src/lib/libssl/man/SSL_get_session.3 b/src/lib/libssl/man/SSL_get_session.3
index 4cde129bc2..2ab43fdd3e 100644
--- a/src/lib/libssl/man/SSL_get_session.3
+++ b/src/lib/libssl/man/SSL_get_session.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: SSL_get_session.3,v 1.7 2018/03/27 17:35:50 schwarze Exp $ 1.\" $OpenBSD: SSL_get_session.3,v 1.8 2022/03/31 17:27:18 naddy Exp $
2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100 2.\" OpenSSL b97fdb57 Nov 11 09:33:09 2016 +0100
3.\" 3.\"
4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>. 4.\" This file was written by Lutz Jaenicke <jaenicke@openssl.org>.
@@ -49,7 +49,7 @@
49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 49.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
50.\" OF THE POSSIBILITY OF SUCH DAMAGE. 50.\" OF THE POSSIBILITY OF SUCH DAMAGE.
51.\" 51.\"
52.Dd $Mdocdate: March 27 2018 $ 52.Dd $Mdocdate: March 31 2022 $
53.Dt SSL_GET_SESSION 3 53.Dt SSL_GET_SESSION 3
54.Os 54.Os
55.Sh NAME 55.Sh NAME
@@ -109,7 +109,7 @@ If the data is to be kept,
109.Fn SSL_get1_session 109.Fn SSL_get1_session
110will increment the reference count, so that the session will not be implicitly 110will increment the reference count, so that the session will not be implicitly
111removed by other operations but stays in memory. 111removed by other operations but stays in memory.
112In order to remove the session 112In order to remove the session,
113.Xr SSL_SESSION_free 3 113.Xr SSL_SESSION_free 3
114must be explicitly called once to decrement the reference count again. 114must be explicitly called once to decrement the reference count again.
115.Pp 115.Pp