From 2ffb17410eb84352a4207850a977dbc50163119d Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Sat, 28 Jan 2017 00:59:36 +0000 Subject: add HISTORY and AUTHORS --- src/lib/libtls/man/tls_accept_socket.3 | 25 ++++++++- src/lib/libtls/man/tls_client.3 | 11 +++- .../libtls/man/tls_config_ocsp_require_stapling.3 | 9 +++- src/lib/libtls/man/tls_config_set_protocols.3 | 35 ++++++++++++- src/lib/libtls/man/tls_config_set_session_id.3 | 9 +++- src/lib/libtls/man/tls_config_verify.3 | 23 ++++++++- src/lib/libtls/man/tls_conn_version.3 | 26 +++++++++- src/lib/libtls/man/tls_connect.3 | 30 ++++++++++- src/lib/libtls/man/tls_init.3 | 21 +++++++- src/lib/libtls/man/tls_load_file.3 | 59 +++++++++++++++++++++- src/lib/libtls/man/tls_ocsp_process_response.3 | 9 +++- 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 @@ -.\" $OpenBSD: tls_accept_socket.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_accept_socket.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2015 Ted Unangst .\" Copyright (c) 2015 Joel Sing @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_ACCEPT_SOCKET 3 .Os .Sh NAME @@ -84,3 +84,24 @@ These functions return 0 on success or -1 on error. .Xr tls_connect 3 , .Xr tls_init 3 , .Xr tls_server 3 +.Sh HISTORY +.Fn tls_accept_socket +appeared in +.Ox 5.6 +and got its final name in +.Ox 5.7 . +.Pp +.Fn tls_accept_fds +appeared in +.Ox 5.8 +and +.Fn tls_accept_cbs +in +.Ox 6.1 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +.Pp +.An -nosplit +.Fn tls_accept_cbs +was written by +.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 @@ -.\" $OpenBSD: tls_client.3,v 1.1 2017/01/25 23:53:18 schwarze Exp $ +.\" $OpenBSD: tls_client.3,v 1.2 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 25 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CLIENT 3 .Os .Sh NAME @@ -85,3 +85,10 @@ returns 0 on success or -1 on error. .Xr tls_config_new 3 , .Xr tls_connect 3 , .Xr tls_init 3 +.Sh HISTORY +These functions appeared in +.Ox 5.6 +and got their final names in +.Ox 5.7 . +.Sh AUTHORS +.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 @@ -.\" $OpenBSD: tls_config_ocsp_require_stapling.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_config_ocsp_require_stapling.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2016 Bob Beck .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONFIG_OCSP_REQUIRE_STAPLING 3 .Os .Sh NAME @@ -57,3 +57,8 @@ return 0 on success or -1 on error. .Xr tls_handshake 3 , .Xr tls_init 3 , .Xr tls_ocsp_process_response 3 +.Sh HISTORY +These functions appeared in +.Ox 6.1 . +.Sh AUTHORS +.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 @@ -.\" $OpenBSD: tls_config_set_protocols.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_config_set_protocols.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" Copyright (c) 2015, 2016 Joel Sing @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONFIG_SET_PROTOCOLS 3 .Os .Sh NAME @@ -146,3 +146,34 @@ These functions return 0 on success or -1 on error. .Xr tls_config_verify 3 , .Xr tls_init 3 , .Xr tls_load_file 3 +.Sh HISTORY +.Fn tls_config_set_ciphers +appeared in +.Ox 5.6 +and got its final name in +.Ox 5.7 . +.Pp +.Fn tls_config_set_protocols , +.Fn tls_config_parse_protocols , +.Fn tls_config_set_dheparams , +and +.Fn tls_config_set_ecdhecurve +appeared in +.Ox 5.7 , +.Fn tls_config_prefer_ciphers_client +and +.Fn tls_config_prefer_ciphers_server +in +.Ox 5.9 , +and +.Fn tls_config_set_alpn +in +.Ox 6.1 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +with contributions from +.An Ted Unangst Aq Mt tedu@openbsd.org +.Pq Fn tls_config_set_ciphers +and +.An Reyk Floeter Aq Mt reyk@openbsd.org +.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 @@ -.\" $OpenBSD: tls_config_set_session_id.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_config_set_session_id.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2017 Claudio Jeker .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONFIG_SET_SESSION_ID 3 .Os .Sh NAME @@ -68,3 +68,8 @@ These functions return 0 on success or -1 on error. .Xr tls_init 3 , .Xr tls_load_file 3 , .Xr tls_server 3 +.Sh HISTORY +These functions appeared in +.Ox 6.1 . +.Sh AUTHORS +.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 @@ -.\" $OpenBSD: tls_config_verify.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_config_verify.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" Copyright (c) 2015 Joel Sing @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONGIG_VERIFY 3 .Os .Sh NAME @@ -58,3 +58,22 @@ reenables server name and certificate verification. .Xr tls_connect 3 , .Xr tls_handshake 3 , .Xr tls_init 3 +.Sh HISTORY +.Fn tls_config_verify +appeared in +.Ox 5.6 +and got its final name in +.Ox 5.7 . +.Pp +.Fn tls_config_insecure_noverifycert +and +.Fn tls_config_insecure_noverifyname +appeared in +.Ox 5.7 +and +.Nm tls_config_insecure_noverifytime +in +.Ox 5.9 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +.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 @@ -.\" $OpenBSD: tls_conn_version.3,v 1.3 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_conn_version.3,v 1.4 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2015 Bob Beck .\" Copyright (c) 2016 Joel Sing @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONN_VERSION 3 .Os .Sh NAME @@ -153,3 +153,25 @@ on error or an out of memory condition. .Xr tls_handshake 3 , .Xr tls_init 3 , .Xr tls_ocsp_process_response 3 +.Sh HISTORY +.Fn tls_conn_version , +.Fn tls_conn_cipher , +.Fn tls_peer_cert_provided , +.Fn tls_peer_cert_contains_name , +.Fn tls_peer_cert_issuer , +.Fn tls_peer_cert_subject , +.Fn tls_peer_cert_hash , +.Fn tls_peer_cert_notbefore , +and +.Fn tls_peer_cert_notafter +appeared in +.Ox 5.9 . +.Pp +.Fn tls_conn_servername +and +.Fn tls_conn_alpn_selected +appeared in +.Ox 6.1 . +.Sh AUTHORS +.An Bob Beck Aq Mt beck@openbsd.org +.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 @@ -.\" $OpenBSD: tls_connect.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_connect.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" Copyright (c) 2014, 2015 Joel Sing @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_CONNECT 3 .Os .Sh NAME @@ -114,3 +114,29 @@ These functions return 0 on success or -1 on error. .Xr tls_configure 3 , .Xr tls_handshake 3 , .Xr tls_init 3 +.Sh HISTORY +.Fn tls_connect +and +.Fn tls_connect_socket +appeared in +.Ox 5.6 +and got their final names in +.Ox 5.7 . +.Pp +.Fn tls_connect_fds +and +.Fn tls_connect_servername +appeared in +.Ox 5.7 +and +.Fn tls_connect_cbs +in +.Ox 6.1 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +.An Reyk Floeter Aq Mt reyk@openbsd.org +.Pp +.An -nosplit +.Fn tls_connect_cbs +was written by +.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 @@ -.\" $OpenBSD: tls_init.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_init.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" Copyright (c) 2016 Joel Sing @@ -15,7 +15,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_INIT 3 .Os .Sh NAME @@ -125,3 +125,20 @@ API first appeared in .Ox 5.6 as a response to the unnecessary challenges other APIs present in order to use them safely. +.Pp +All functions were renamed from +.Fn ressl_* +to +.Fn tls_* +for +.Ox 5.7 . +.Pp +.Fn tls_config_error +appeared in +.Ox 6.0 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +.An Ted Unangst Aq Mt tedu@openbsd.org +.Pp +Many others contributed to various parts of the library; see the +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 @@ -.\" $OpenBSD: tls_load_file.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_load_file.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014 Ted Unangst .\" Copyright (c) 2015 Reyk Floeter @@ -17,7 +17,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_LOAD_FILE 3 .Os .Sh NAME @@ -198,3 +198,58 @@ The other functions return 0 on success or -1 on error. .Xr tls_config_set_session_id 3 , .Xr tls_configure 3 , .Xr tls_init 3 +.Sh HISTORY +.Fn tls_config_set_ca_file , +.Fn tls_config_set_ca_path , +.Fn tls_config_set_cert_file , +.Fn tls_config_set_cert_mem , +.Fn tls_config_set_key_file , +.Fn tls_config_set_key_mem , +and +.Fn tls_config_set_verify_depth +appeared in +.Ox 5.6 +and got their final names in +.Ox 5.7 . +.Pp +.Fn tls_load_file , +.Fn tls_config_set_ca_mem , +and +.Fn tls_config_clear_keys +appeared in +.Ox 5.7 . +.Pp +.Fn tls_config_verify_client +and +.Fn tls_config_verify_client_optional +appeared in +.Ox 5.9 . +.Pp +.Fn tls_config_set_keypair_file +and +.Fn tls_config_set_keypair_mem +appeared in +.Ox 6.0 , +and +.Fn tls_config_add_keypair_file +and +.Fn tls_config_add_keypair_mem +in +.Ox 6.1 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +with contibutions from +.An Ted Unangst Aq Mt tedu@openbsd.org +.Pp +.An -nosplit +.Fn tls_config_verify_client +and +.Fn tls_config_verify_client_optional +were written by +.An Bob Beck Aq Mt beck@openbsd.org . +.Pp +.Fn tls_load_file +and +.Fn tls_config_set_ca_mem +were written by +.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 @@ -.\" $OpenBSD: tls_ocsp_process_response.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_ocsp_process_response.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2016 Bob Beck .\" @@ -14,7 +14,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_OCSP_PROCESS_RESPONSE 3 .Os .Sh NAME @@ -152,3 +152,8 @@ on error or an out of memory condition. .Xr tls_connect 3 , .Xr tls_handshake 3 , .Xr tls_init 3 +.Sh HISTORY +These functions appeared in +.Ox 6.1 . +.Sh AUTHORS +.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 @@ -.\" $OpenBSD: tls_read.3,v 1.2 2017/01/27 20:19:51 schwarze Exp $ +.\" $OpenBSD: tls_read.3,v 1.3 2017/01/28 00:59:36 schwarze Exp $ .\" .\" Copyright (c) 2014, 2015 Ted Unangst .\" Copyright (c) 2015 Doug Hogan @@ -17,7 +17,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: January 27 2017 $ +.Dd $Mdocdate: January 28 2017 $ .Dt TLS_READ 3 .Os .Sh NAME @@ -196,3 +196,22 @@ while (len > 0) { .Xr tls_connect 3 , .Xr tls_init 3 , .Xr tls_ocsp_process_response 3 +.Sh HISTORY +.Fn tls_read , +.Fn tls_write , +.Fn tls_error , +.Fn tls_close , +and +.Fn tls_reset +appeared in +.Ox 5.6 +and got their final names in +.Ox 5.7 . +.Pp +.Fn tls_handshake +appeared in +.Ox 5.9 . +.Sh AUTHORS +.An Joel Sing Aq Mt jsing@openbsd.org +with contributions from +.An Bob Beck Aq Mt beck@openbsd.org -- cgit v1.2.3-55-g6feb