summaryrefslogtreecommitdiff
path: root/src/lib/libtls/man/tls_client.3
diff options
context:
space:
mode:
authorschwarze <>2017-04-27 20:41:08 +0000
committerschwarze <>2017-04-27 20:41:08 +0000
commitb3bc866e257eefa4679890545d6980ea3206bce3 (patch)
tree4992a832fd1fbdffff7b40b95a34ab907e0041c4 /src/lib/libtls/man/tls_client.3
parent201c97ba560e6c59a7dbb7d3743d0d08abb2b545 (diff)
downloadopenbsd-b3bc866e257eefa4679890545d6980ea3206bce3.tar.gz
openbsd-b3bc866e257eefa4679890545d6980ea3206bce3.tar.bz2
openbsd-b3bc866e257eefa4679890545d6980ea3206bce3.zip
tls_free(3) and tls_config_free(3) accept NULL;
patch from Matthew Martin <phy1729 at gmail dot com>, slightly tweaked by me
Diffstat (limited to 'src/lib/libtls/man/tls_client.3')
-rw-r--r--src/lib/libtls/man/tls_client.39
1 files changed, 7 insertions, 2 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