diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/libtls/man/tls_accept_socket.3 | 25 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_client.3 | 11 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_config_ocsp_require_stapling.3 | 9 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_config_set_protocols.3 | 35 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_config_set_session_id.3 | 9 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_config_verify.3 | 23 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_conn_version.3 | 26 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_connect.3 | 30 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_init.3 | 21 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_load_file.3 | 59 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_ocsp_process_response.3 | 9 | ||||
| -rw-r--r-- | src/lib/libtls/man/tls_read.3 | 23 |
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 | ||
| 89 | appeared in | ||
| 90 | .Ox 5.6 | ||
| 91 | and got its final name in | ||
| 92 | .Ox 5.7 . | ||
| 93 | .Pp | ||
| 94 | .Fn tls_accept_fds | ||
| 95 | appeared in | ||
| 96 | .Ox 5.8 | ||
| 97 | and | ||
| 98 | .Fn tls_accept_cbs | ||
| 99 | in | ||
| 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 | ||
| 106 | was 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 | ||
| 89 | These functions appeared in | ||
| 90 | .Ox 5.6 | ||
| 91 | and 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 | ||
| 61 | These 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 | ||
| 151 | appeared in | ||
| 152 | .Ox 5.6 | ||
| 153 | and 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 , | ||
| 159 | and | ||
| 160 | .Fn tls_config_set_ecdhecurve | ||
| 161 | appeared in | ||
| 162 | .Ox 5.7 , | ||
| 163 | .Fn tls_config_prefer_ciphers_client | ||
| 164 | and | ||
| 165 | .Fn tls_config_prefer_ciphers_server | ||
| 166 | in | ||
| 167 | .Ox 5.9 , | ||
| 168 | and | ||
| 169 | .Fn tls_config_set_alpn | ||
| 170 | in | ||
| 171 | .Ox 6.1 . | ||
| 172 | .Sh AUTHORS | ||
| 173 | .An Joel Sing Aq Mt jsing@openbsd.org | ||
| 174 | with contributions from | ||
| 175 | .An Ted Unangst Aq Mt tedu@openbsd.org | ||
| 176 | .Pq Fn tls_config_set_ciphers | ||
| 177 | and | ||
| 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 | ||
| 72 | These 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 | ||
| 63 | appeared in | ||
| 64 | .Ox 5.6 | ||
| 65 | and got its final name in | ||
| 66 | .Ox 5.7 . | ||
| 67 | .Pp | ||
| 68 | .Fn tls_config_insecure_noverifycert | ||
| 69 | and | ||
| 70 | .Fn tls_config_insecure_noverifyname | ||
| 71 | appeared in | ||
| 72 | .Ox 5.7 | ||
| 73 | and | ||
| 74 | .Nm tls_config_insecure_noverifytime | ||
| 75 | in | ||
| 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 , | ||
| 165 | and | ||
| 166 | .Fn tls_peer_cert_notafter | ||
| 167 | appeared in | ||
| 168 | .Ox 5.9 . | ||
| 169 | .Pp | ||
| 170 | .Fn tls_conn_servername | ||
| 171 | and | ||
| 172 | .Fn tls_conn_alpn_selected | ||
| 173 | appeared 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 | ||
| 119 | and | ||
| 120 | .Fn tls_connect_socket | ||
| 121 | appeared in | ||
| 122 | .Ox 5.6 | ||
| 123 | and got their final names in | ||
| 124 | .Ox 5.7 . | ||
| 125 | .Pp | ||
| 126 | .Fn tls_connect_fds | ||
| 127 | and | ||
| 128 | .Fn tls_connect_servername | ||
| 129 | appeared in | ||
| 130 | .Ox 5.7 | ||
| 131 | and | ||
| 132 | .Fn tls_connect_cbs | ||
| 133 | in | ||
| 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 | ||
| 141 | was 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 |
| 126 | as a response to the unnecessary challenges other APIs present in | 126 | as a response to the unnecessary challenges other APIs present in |
| 127 | order to use them safely. | 127 | order to use them safely. |
| 128 | .Pp | ||
| 129 | All functions were renamed from | ||
| 130 | .Fn ressl_* | ||
| 131 | to | ||
| 132 | .Fn tls_* | ||
| 133 | for | ||
| 134 | .Ox 5.7 . | ||
| 135 | .Pp | ||
| 136 | .Fn tls_config_error | ||
| 137 | appeared 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 | ||
| 143 | Many others contributed to various parts of the library; see the | ||
| 144 | individual 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 , | ||
| 208 | and | ||
| 209 | .Fn tls_config_set_verify_depth | ||
| 210 | appeared in | ||
| 211 | .Ox 5.6 | ||
| 212 | and got their final names in | ||
| 213 | .Ox 5.7 . | ||
| 214 | .Pp | ||
| 215 | .Fn tls_load_file , | ||
| 216 | .Fn tls_config_set_ca_mem , | ||
| 217 | and | ||
| 218 | .Fn tls_config_clear_keys | ||
| 219 | appeared in | ||
| 220 | .Ox 5.7 . | ||
| 221 | .Pp | ||
| 222 | .Fn tls_config_verify_client | ||
| 223 | and | ||
| 224 | .Fn tls_config_verify_client_optional | ||
| 225 | appeared in | ||
| 226 | .Ox 5.9 . | ||
| 227 | .Pp | ||
| 228 | .Fn tls_config_set_keypair_file | ||
| 229 | and | ||
| 230 | .Fn tls_config_set_keypair_mem | ||
| 231 | appeared in | ||
| 232 | .Ox 6.0 , | ||
| 233 | and | ||
| 234 | .Fn tls_config_add_keypair_file | ||
| 235 | and | ||
| 236 | .Fn tls_config_add_keypair_mem | ||
| 237 | in | ||
| 238 | .Ox 6.1 . | ||
| 239 | .Sh AUTHORS | ||
| 240 | .An Joel Sing Aq Mt jsing@openbsd.org | ||
| 241 | with contibutions from | ||
| 242 | .An Ted Unangst Aq Mt tedu@openbsd.org | ||
| 243 | .Pp | ||
| 244 | .An -nosplit | ||
| 245 | .Fn tls_config_verify_client | ||
| 246 | and | ||
| 247 | .Fn tls_config_verify_client_optional | ||
| 248 | were written by | ||
| 249 | .An Bob Beck Aq Mt beck@openbsd.org . | ||
| 250 | .Pp | ||
| 251 | .Fn tls_load_file | ||
| 252 | and | ||
| 253 | .Fn tls_config_set_ca_mem | ||
| 254 | were 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 | ||
| 156 | These 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 , | ||
| 204 | and | ||
| 205 | .Fn tls_reset | ||
| 206 | appeared in | ||
| 207 | .Ox 5.6 | ||
| 208 | and got their final names in | ||
| 209 | .Ox 5.7 . | ||
| 210 | .Pp | ||
| 211 | .Fn tls_handshake | ||
| 212 | appeared in | ||
| 213 | .Ox 5.9 . | ||
| 214 | .Sh AUTHORS | ||
| 215 | .An Joel Sing Aq Mt jsing@openbsd.org | ||
| 216 | with contributions from | ||
| 217 | .An Bob Beck Aq Mt beck@openbsd.org | ||
