-.\" $OpenBSD: tls_client.3,v 1.2 2017/01/28 00:59:36 schwarze Exp $
+.\" $OpenBSD: tls_client.3,v 1.3 2017/04/27 20:41:08 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\"
.\" 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 28 2017 $
+.Dd $Mdocdate: April 27 2017 $
.Dt TLS_CLIENT 3
.Os
.Sh NAME
.Xr tls_close 3 ,
and then freed by calling
.Fn tls_free .
+If
+.Fn tls_free
+is called with an argument of
+.Dv NULL ,
+no action occurs.
.Sh RETURN VALUES
.Fn tls_client
and
-.\" $OpenBSD: tls_init.3,v 1.5 2017/02/20 16:01:15 jmc Exp $
+.\" $OpenBSD: tls_init.3,v 1.6 2017/04/27 20:41:08 schwarze Exp $
.\"
.\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org>
.\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org>
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: February 20 2017 $
+.Dd $Mdocdate: April 27 2017 $
.Dt TLS_INIT 3
.Os
.Sh NAME
When no more contexts are to be created,
the configuration object should be freed by calling
.Fn tls_config_free .
+If
+.Fa config
+is
+.Dv NULL ,
+no action occurs.
.Sh RETURN VALUES
.Fn tls_init
returns 0 on success or -1 on error.