summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/libtls/man/tls_client.39
-rw-r--r--src/lib/libtls/man/tls_init.39
2 files changed, 14 insertions, 4 deletions
diff --git a/src/lib/libtls/man/tls_client.3 b/src/lib/libtls/man/tls_client.3
index 47114e4ac2..8be349c37d 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.2 2017/01/28 00:59:36 schwarze Exp $ 1.\" $OpenBSD: tls_client.3,v 1.3 2017/04/27 20:41:08 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 28 2017 $ 17.Dd $Mdocdate: April 27 2017 $
18.Dt TLS_CLIENT 3 18.Dt TLS_CLIENT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -70,6 +70,11 @@ After use, a TLS context should be closed with
70.Xr tls_close 3 , 70.Xr tls_close 3 ,
71and then freed by calling 71and then freed by calling
72.Fn tls_free . 72.Fn tls_free .
73If
74.Fn tls_free
75is called with an argument of
76.Dv NULL ,
77no action occurs.
73.Sh RETURN VALUES 78.Sh RETURN VALUES
74.Fn tls_client 79.Fn tls_client
75and 80and
diff --git a/src/lib/libtls/man/tls_init.3 b/src/lib/libtls/man/tls_init.3
index f06a966255..7c461cbcb7 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.5 2017/02/20 16:01:15 jmc Exp $ 1.\" $OpenBSD: tls_init.3,v 1.6 2017/04/27 20:41:08 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>
@@ -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: February 20 2017 $ 19.Dd $Mdocdate: April 27 2017 $
20.Dt TLS_INIT 3 20.Dt TLS_INIT 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -100,6 +100,11 @@ and then freed by calling
100When no more contexts are to be created, 100When no more contexts are to be created,
101the configuration object should be freed by calling 101the configuration object should be freed by calling
102.Fn tls_config_free . 102.Fn tls_config_free .
103If
104.Fa config
105is
106.Dv NULL ,
107no action occurs.
103.Sh RETURN VALUES 108.Sh RETURN VALUES
104.Fn tls_init 109.Fn tls_init
105returns 0 on success or -1 on error. 110returns 0 on success or -1 on error.