diff options
author | beck <> | 2018-03-07 17:17:47 +0000 |
---|---|---|
committer | beck <> | 2018-03-07 17:17:47 +0000 |
commit | e6135660e4e7cb53ac89d814a7cfe8e97df34068 (patch) | |
tree | 522fdc4aeaca648a24322ae67565db878e5113bc /src/lib/libtls/man | |
parent | 8499f4be87aaffec67d6c3aaf62d18a847e4a6ff (diff) | |
download | openbsd-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.3 | 6 |
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 |
47 | function initializes global data structures. | 47 | function initializes global data structures. |
48 | It should be called once before any other functions. | 48 | It should be called once before any other functions. |
49 | It may be called more than once, but not concurrently. | 49 | It may be called more than once, and may be called concurrently. |
50 | .Pp | 50 | .Pp |
51 | Before a connection is created, a configuration must be created. | 51 | Before a connection is created, a configuration must be created. |
52 | The | 52 | The |