summaryrefslogtreecommitdiff
path: root/src/lib/libtls/man
diff options
context:
space:
mode:
authorbeck <>2018-03-07 17:17:47 +0000
committerbeck <>2018-03-07 17:17:47 +0000
commite6135660e4e7cb53ac89d814a7cfe8e97df34068 (patch)
tree522fdc4aeaca648a24322ae67565db878e5113bc /src/lib/libtls/man
parent8499f4be87aaffec67d6c3aaf62d18a847e4a6ff (diff)
downloadopenbsd-e6135660e4e7cb53ac89d814a7cfe8e97df34068.tar.gz
openbsd-e6135660e4e7cb53ac89d814a7cfe8e97df34068.tar.bz2
openbsd-e6135660e4e7cb53ac89d814a7cfe8e97df34068.zip
Make tls_init() concurrently callable using pthread_once().
ok jsing@ This brings pthread_once usage into libressl, which will need to get dealt with correctly in portable. This sets us up to autoinit libtls, and we will also be using pthread_once to deal with autoinit stuff in libssl and libcrypto
Diffstat (limited to 'src/lib/libtls/man')
-rw-r--r--src/lib/libtls/man/tls_init.36
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libtls/man/tls_init.3 b/src/lib/libtls/man/tls_init.3
index c83c0375ab..fe8847d0ac 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.7 2017/05/06 21:18:48 jsing Exp $ 1.\" $OpenBSD: tls_init.3,v 1.8 2018/03/07 17:17:47 beck 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: May 6 2017 $ 19.Dd $Mdocdate: March 7 2018 $
20.Dt TLS_INIT 3 20.Dt TLS_INIT 3
21.Os 21.Os
22.Sh NAME 22.Sh NAME
@@ -46,7 +46,7 @@ The
46.Fn tls_init 46.Fn tls_init
47function initializes global data structures. 47function initializes global data structures.
48It should be called once before any other functions. 48It should be called once before any other functions.
49It may be called more than once, but not concurrently. 49It may be called more than once, and may be called concurrently.
50.Pp 50.Pp
51Before a connection is created, a configuration must be created. 51Before a connection is created, a configuration must be created.
52The 52The