summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libtls/man/tls_accept_socket.325
-rw-r--r--src/lib/libtls/man/tls_client.311
-rw-r--r--src/lib/libtls/man/tls_config_ocsp_require_stapling.39
-rw-r--r--src/lib/libtls/man/tls_config_set_protocols.335
-rw-r--r--src/lib/libtls/man/tls_config_set_session_id.39
-rw-r--r--src/lib/libtls/man/tls_config_verify.323
-rw-r--r--src/lib/libtls/man/tls_conn_version.326
-rw-r--r--src/lib/libtls/man/tls_connect.330
-rw-r--r--src/lib/libtls/man/tls_init.321
-rw-r--r--src/lib/libtls/man/tls_load_file.359
-rw-r--r--src/lib/libtls/man/tls_ocsp_process_response.39
-rw-r--r--src/lib/libtls/man/tls_read.323
12 files changed, 256 insertions, 24 deletions
diff --git a/src/lib/libtls/man/tls_accept_socket.3 b/src/lib/libtls/man/tls_accept_socket.3
index a5fd048c31..95022603d6 100644
--- a/src/lib/libtls/man/tls_accept_socket.3
+++ b/src/lib/libtls/man/tls_accept_socket.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_accept_socket.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_accept_socket.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2015 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2015 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: January 27 2017 $ 19.Dd $Mdocdate: January 28 2017 $
20.Dt TLS_ACCEPT_SOCKET 3 20.Dt TLS_ACCEPT_SOCKET 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -84,3 +84,24 @@ These functions return 0 on success or -1 on error.
84.Xr tls_connect 3 , 84.Xr tls_connect 3 ,
85.Xr tls_init 3 , 85.Xr tls_init 3 ,
86.Xr tls_server 3 86.Xr tls_server 3
87.Sh HISTORY
88.Fn tls_accept_socket
89appeared in
90.Ox 5.6
91and got its final name in
92.Ox 5.7 .
93.Pp
94.Fn tls_accept_fds
95appeared in
96.Ox 5.8
97and
98.Fn tls_accept_cbs
99in
100.Ox 6.1 .
101.Sh AUTHORS
102.An Joel Sing Aq Mt jsing@openbsd.org
103.Pp
104.An -nosplit
105.Fn tls_accept_cbs
106was written by
107.An Tobias Pape Aq Mt tobias@netshed.de .
diff --git a/src/lib/libtls/man/tls_client.3 b/src/lib/libtls/man/tls_client.3
index c8b2cb644e..47114e4ac2 100644
--- a/src/lib/libtls/man/tls_client.3
+++ b/src/lib/libtls/man/tls_client.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_client.3,v 1.1 2017/01/25 23:53:18 schwarze Exp $ 1.\" $OpenBSD: tls_client.3,v 1.2 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@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 2017 $ 17.Dd $Mdocdate: January 28 2017 $
18.Dt TLS_CLIENT 3 18.Dt TLS_CLIENT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -85,3 +85,10 @@ returns 0 on success or -1 on error.
85.Xr tls_config_new 3 , 85.Xr tls_config_new 3 ,
86.Xr tls_connect 3 , 86.Xr tls_connect 3 ,
87.Xr tls_init 3 87.Xr tls_init 3
88.Sh HISTORY
89These functions appeared in
90.Ox 5.6
91and got their final names in
92.Ox 5.7 .
93.Sh AUTHORS
94.An Joel Sing Aq Mt jsing@openbsd.org
diff --git a/src/lib/libtls/man/tls_config_ocsp_require_stapling.3 b/src/lib/libtls/man/tls_config_ocsp_require_stapling.3
index d9f2972045..0f532cf8c0 100644
--- a/src/lib/libtls/man/tls_config_ocsp_require_stapling.3
+++ b/src/lib/libtls/man/tls_config_ocsp_require_stapling.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_config_ocsp_require_stapling.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_config_ocsp_require_stapling.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2016 Bob Beck <beck@openbsd.org> 3.\" Copyright (c) 2016 Bob Beck <beck@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 27 2017 $ 17.Dd $Mdocdate: January 28 2017 $
18.Dt TLS_CONFIG_OCSP_REQUIRE_STAPLING 3 18.Dt TLS_CONFIG_OCSP_REQUIRE_STAPLING 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -57,3 +57,8 @@ return 0 on success or -1 on error.
57.Xr tls_handshake 3 , 57.Xr tls_handshake 3 ,
58.Xr tls_init 3 , 58.Xr tls_init 3 ,
59.Xr tls_ocsp_process_response 3 59.Xr tls_ocsp_process_response 3
60.Sh HISTORY
61These functions appeared in
62.Ox 6.1 .
63.Sh AUTHORS
64.An Bob Beck Aq Mt beck@openbsd.org
diff --git a/src/lib/libtls/man/tls_config_set_protocols.3 b/src/lib/libtls/man/tls_config_set_protocols.3
index 718322e9f5..b2f31eabd5 100644
--- a/src/lib/libtls/man/tls_config_set_protocols.3
+++ b/src/lib/libtls/man/tls_config_set_protocols.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_config_set_protocols.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_config_set_protocols.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2015, 2016 Joel Sing <jsing@openbsd.org>
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: January 27 2017 $ 19.Dd $Mdocdate: January 28 2017 $
20.Dt TLS_CONFIG_SET_PROTOCOLS 3 20.Dt TLS_CONFIG_SET_PROTOCOLS 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -146,3 +146,34 @@ These functions return 0 on success or -1 on error.
146.Xr tls_config_verify 3 , 146.Xr tls_config_verify 3 ,
147.Xr tls_init 3 , 147.Xr tls_init 3 ,
148.Xr tls_load_file 3 148.Xr tls_load_file 3
149.Sh HISTORY
150.Fn tls_config_set_ciphers
151appeared in
152.Ox 5.6
153and got its final name in
154.Ox 5.7 .
155.Pp
156.Fn tls_config_set_protocols ,
157.Fn tls_config_parse_protocols ,
158.Fn tls_config_set_dheparams ,
159and
160.Fn tls_config_set_ecdhecurve
161appeared in
162.Ox 5.7 ,
163.Fn tls_config_prefer_ciphers_client
164and
165.Fn tls_config_prefer_ciphers_server
166in
167.Ox 5.9 ,
168and
169.Fn tls_config_set_alpn
170in
171.Ox 6.1 .
172.Sh AUTHORS
173.An Joel Sing Aq Mt jsing@openbsd.org
174with contributions from
175.An Ted Unangst Aq Mt tedu@openbsd.org
176.Pq Fn tls_config_set_ciphers
177and
178.An Reyk Floeter Aq Mt reyk@openbsd.org
179.Pq Fn tls_config_set_ecdhecurve
diff --git a/src/lib/libtls/man/tls_config_set_session_id.3 b/src/lib/libtls/man/tls_config_set_session_id.3
index 99dacdc15e..7106de46df 100644
--- a/src/lib/libtls/man/tls_config_set_session_id.3
+++ b/src/lib/libtls/man/tls_config_set_session_id.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_config_set_session_id.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_config_set_session_id.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2017 Claudio Jeker <claudio@openbsd.org> 3.\" Copyright (c) 2017 Claudio Jeker <claudio@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 27 2017 $ 17.Dd $Mdocdate: January 28 2017 $
18.Dt TLS_CONFIG_SET_SESSION_ID 3 18.Dt TLS_CONFIG_SET_SESSION_ID 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -68,3 +68,8 @@ These functions return 0 on success or -1 on error.
68.Xr tls_init 3 , 68.Xr tls_init 3 ,
69.Xr tls_load_file 3 , 69.Xr tls_load_file 3 ,
70.Xr tls_server 3 70.Xr tls_server 3
71.Sh HISTORY
72These functions appeared in
73.Ox 6.1 .
74.Sh AUTHORS
75.An Claudio Jeker Aq Mt claudio@openbsd.org
diff --git a/src/lib/libtls/man/tls_config_verify.3 b/src/lib/libtls/man/tls_config_verify.3
index 586f0c640a..d4051a2372 100644
--- a/src/lib/libtls/man/tls_config_verify.3
+++ b/src/lib/libtls/man/tls_config_verify.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_config_verify.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_config_verify.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2015 Joel Sing <jsing@openbsd.org>
@@ -15,7 +15,7 @@
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\" 17.\"
18.Dd $Mdocdate: January 27 2017 $ 18.Dd $Mdocdate: January 28 2017 $
19.Dt TLS_CONGIG_VERIFY 3 19.Dt TLS_CONGIG_VERIFY 3
20.Os 20.Os
21.Sh NAME 21.Sh NAME
@@ -58,3 +58,22 @@ reenables server name and certificate verification.
58.Xr tls_connect 3 , 58.Xr tls_connect 3 ,
59.Xr tls_handshake 3 , 59.Xr tls_handshake 3 ,
60.Xr tls_init 3 60.Xr tls_init 3
61.Sh HISTORY
62.Fn tls_config_verify
63appeared in
64.Ox 5.6
65and got its final name in
66.Ox 5.7 .
67.Pp
68.Fn tls_config_insecure_noverifycert
69and
70.Fn tls_config_insecure_noverifyname
71appeared in
72.Ox 5.7
73and
74.Nm tls_config_insecure_noverifytime
75in
76.Ox 5.9 .
77.Sh AUTHORS
78.An Joel Sing Aq Mt jsing@openbsd.org
79.An Ted Unangst Aq Mt tedu@openbsd.org
diff --git a/src/lib/libtls/man/tls_conn_version.3 b/src/lib/libtls/man/tls_conn_version.3
index fc196b4487..8ac2c9b6b3 100644
--- a/src/lib/libtls/man/tls_conn_version.3
+++ b/src/lib/libtls/man/tls_conn_version.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_conn_version.3,v 1.3 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_conn_version.3,v 1.4 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2015 Bob Beck <beck@openbsd.org> 3.\" Copyright (c) 2015 Bob Beck <beck@openbsd.org>
4.\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org>
@@ -15,7 +15,7 @@
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\" 17.\"
18.Dd $Mdocdate: January 27 2017 $ 18.Dd $Mdocdate: January 28 2017 $
19.Dt TLS_CONN_VERSION 3 19.Dt TLS_CONN_VERSION 3
20.Os 20.Os
21.Sh NAME 21.Sh NAME
@@ -153,3 +153,25 @@ on error or an out of memory condition.
153.Xr tls_handshake 3 , 153.Xr tls_handshake 3 ,
154.Xr tls_init 3 , 154.Xr tls_init 3 ,
155.Xr tls_ocsp_process_response 3 155.Xr tls_ocsp_process_response 3
156.Sh HISTORY
157.Fn tls_conn_version ,
158.Fn tls_conn_cipher ,
159.Fn tls_peer_cert_provided ,
160.Fn tls_peer_cert_contains_name ,
161.Fn tls_peer_cert_issuer ,
162.Fn tls_peer_cert_subject ,
163.Fn tls_peer_cert_hash ,
164.Fn tls_peer_cert_notbefore ,
165and
166.Fn tls_peer_cert_notafter
167appeared in
168.Ox 5.9 .
169.Pp
170.Fn tls_conn_servername
171and
172.Fn tls_conn_alpn_selected
173appeared in
174.Ox 6.1 .
175.Sh AUTHORS
176.An Bob Beck Aq Mt beck@openbsd.org
177.An Joel Sing Aq Mt jsing@openbsd.org
diff --git a/src/lib/libtls/man/tls_connect.3 b/src/lib/libtls/man/tls_connect.3
index e36c6db369..161e0d644d 100644
--- a/src/lib/libtls/man/tls_connect.3
+++ b/src/lib/libtls/man/tls_connect.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_connect.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_connect.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2014, 2015 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2014, 2015 Joel Sing <jsing@openbsd.org>
@@ -16,7 +16,7 @@
16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 16.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 17.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18.\" 18.\"
19.Dd $Mdocdate: January 27 2017 $ 19.Dd $Mdocdate: January 28 2017 $
20.Dt TLS_CONNECT 3 20.Dt TLS_CONNECT 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -114,3 +114,29 @@ These functions return 0 on success or -1 on error.
114.Xr tls_configure 3 , 114.Xr tls_configure 3 ,
115.Xr tls_handshake 3 , 115.Xr tls_handshake 3 ,
116.Xr tls_init 3 116.Xr tls_init 3
117.Sh HISTORY
118.Fn tls_connect
119and
120.Fn tls_connect_socket
121appeared in
122.Ox 5.6
123and got their final names in
124.Ox 5.7 .
125.Pp
126.Fn tls_connect_fds
127and
128.Fn tls_connect_servername
129appeared in
130.Ox 5.7
131and
132.Fn tls_connect_cbs
133in
134.Ox 6.1 .
135.Sh AUTHORS
136.An Joel Sing Aq Mt jsing@openbsd.org
137.An Reyk Floeter Aq Mt reyk@openbsd.org
138.Pp
139.An -nosplit
140.Fn tls_connect_cbs
141was written by
142.An Tobias Pape Aq Mt tobias@netshed.de .
diff --git a/src/lib/libtls/man/tls_init.3 b/src/lib/libtls/man/tls_init.3
index b563bf51c5..36d2e29084 100644
--- a/src/lib/libtls/man/tls_init.3
+++ b/src/lib/libtls/man/tls_init.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_init.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_init.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org> 4.\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org>
@@ -15,7 +15,7 @@
15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
17.\" 17.\"
18.Dd $Mdocdate: January 27 2017 $ 18.Dd $Mdocdate: January 28 2017 $
19.Dt TLS_INIT 3 19.Dt TLS_INIT 3
20.Os 20.Os
21.Sh NAME 21.Sh NAME
@@ -125,3 +125,20 @@ API first appeared in
125.Ox 5.6 125.Ox 5.6
126as a response to the unnecessary challenges other APIs present in 126as a response to the unnecessary challenges other APIs present in
127order to use them safely. 127order to use them safely.
128.Pp
129All functions were renamed from
130.Fn ressl_*
131to
132.Fn tls_*
133for
134.Ox 5.7 .
135.Pp
136.Fn tls_config_error
137appeared in
138.Ox 6.0 .
139.Sh AUTHORS
140.An Joel Sing Aq Mt jsing@openbsd.org
141.An Ted Unangst Aq Mt tedu@openbsd.org
142.Pp
143Many others contributed to various parts of the library; see the
144individual manual pages for more information.
diff --git a/src/lib/libtls/man/tls_load_file.3 b/src/lib/libtls/man/tls_load_file.3
index 113a42a63e..eeebd0339e 100644
--- a/src/lib/libtls/man/tls_load_file.3
+++ b/src/lib/libtls/man/tls_load_file.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_load_file.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_load_file.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org> 4.\" Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
@@ -17,7 +17,7 @@
17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19.\" 19.\"
20.Dd $Mdocdate: January 27 2017 $ 20.Dd $Mdocdate: January 28 2017 $
21.Dt TLS_LOAD_FILE 3 21.Dt TLS_LOAD_FILE 3
22.Os 22.Os
23.Sh NAME 23.Sh NAME
@@ -198,3 +198,58 @@ The other functions return 0 on success or -1 on error.
198.Xr tls_config_set_session_id 3 , 198.Xr tls_config_set_session_id 3 ,
199.Xr tls_configure 3 , 199.Xr tls_configure 3 ,
200.Xr tls_init 3 200.Xr tls_init 3
201.Sh HISTORY
202.Fn tls_config_set_ca_file ,
203.Fn tls_config_set_ca_path ,
204.Fn tls_config_set_cert_file ,
205.Fn tls_config_set_cert_mem ,
206.Fn tls_config_set_key_file ,
207.Fn tls_config_set_key_mem ,
208and
209.Fn tls_config_set_verify_depth
210appeared in
211.Ox 5.6
212and got their final names in
213.Ox 5.7 .
214.Pp
215.Fn tls_load_file ,
216.Fn tls_config_set_ca_mem ,
217and
218.Fn tls_config_clear_keys
219appeared in
220.Ox 5.7 .
221.Pp
222.Fn tls_config_verify_client
223and
224.Fn tls_config_verify_client_optional
225appeared in
226.Ox 5.9 .
227.Pp
228.Fn tls_config_set_keypair_file
229and
230.Fn tls_config_set_keypair_mem
231appeared in
232.Ox 6.0 ,
233and
234.Fn tls_config_add_keypair_file
235and
236.Fn tls_config_add_keypair_mem
237in
238.Ox 6.1 .
239.Sh AUTHORS
240.An Joel Sing Aq Mt jsing@openbsd.org
241with contibutions from
242.An Ted Unangst Aq Mt tedu@openbsd.org
243.Pp
244.An -nosplit
245.Fn tls_config_verify_client
246and
247.Fn tls_config_verify_client_optional
248were written by
249.An Bob Beck Aq Mt beck@openbsd.org .
250.Pp
251.Fn tls_load_file
252and
253.Fn tls_config_set_ca_mem
254were written by
255.An Reyk Floeter Aq Mt reyk@openbsd.org .
diff --git a/src/lib/libtls/man/tls_ocsp_process_response.3 b/src/lib/libtls/man/tls_ocsp_process_response.3
index 849e4dfc5c..5b8b16b55b 100644
--- a/src/lib/libtls/man/tls_ocsp_process_response.3
+++ b/src/lib/libtls/man/tls_ocsp_process_response.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_ocsp_process_response.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_ocsp_process_response.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2016 Bob Beck <beck@openbsd.org> 3.\" Copyright (c) 2016 Bob Beck <beck@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 27 2017 $ 17.Dd $Mdocdate: January 28 2017 $
18.Dt TLS_OCSP_PROCESS_RESPONSE 3 18.Dt TLS_OCSP_PROCESS_RESPONSE 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -152,3 +152,8 @@ on error or an out of memory condition.
152.Xr tls_connect 3 , 152.Xr tls_connect 3 ,
153.Xr tls_handshake 3 , 153.Xr tls_handshake 3 ,
154.Xr tls_init 3 154.Xr tls_init 3
155.Sh HISTORY
156These functions appeared in
157.Ox 6.1 .
158.Sh AUTHORS
159.An Bob Beck Aq Mt beck@openbsd.org
diff --git a/src/lib/libtls/man/tls_read.3 b/src/lib/libtls/man/tls_read.3
index 3770da9ab7..e990361017 100644
--- a/src/lib/libtls/man/tls_read.3
+++ b/src/lib/libtls/man/tls_read.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: tls_read.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ 1.\" $OpenBSD: tls_read.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $
2.\" 2.\"
3.\" Copyright (c) 2014, 2015 Ted Unangst <tedu@openbsd.org> 3.\" Copyright (c) 2014, 2015 Ted Unangst <tedu@openbsd.org>
4.\" Copyright (c) 2015 Doug Hogan <doug@openbsd.org> 4.\" Copyright (c) 2015 Doug Hogan <doug@openbsd.org>
@@ -17,7 +17,7 @@
17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 17.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 18.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
19.\" 19.\"
20.Dd $Mdocdate: January 27 2017 $ 20.Dd $Mdocdate: January 28 2017 $
21.Dt TLS_READ 3 21.Dt TLS_READ 3
22.Os 22.Os
23.Sh NAME 23.Sh NAME
@@ -196,3 +196,22 @@ while (len > 0) {
196.Xr tls_connect 3 , 196.Xr tls_connect 3 ,
197.Xr tls_init 3 , 197.Xr tls_init 3 ,
198.Xr tls_ocsp_process_response 3 198.Xr tls_ocsp_process_response 3
199.Sh HISTORY
200.Fn tls_read ,
201.Fn tls_write ,
202.Fn tls_error ,
203.Fn tls_close ,
204and
205.Fn tls_reset
206appeared in
207.Ox 5.6
208and got their final names in
209.Ox 5.7 .
210.Pp
211.Fn tls_handshake
212appeared in
213.Ox 5.9 .
214.Sh AUTHORS
215.An Joel Sing Aq Mt jsing@openbsd.org
216with contributions from
217.An Bob Beck Aq Mt beck@openbsd.org