diff options
author | 2018-03-07 17:17:47 +0000 | |
---|---|---|
committer | 2018-03-07 17:17:47 +0000 | |
commit | 62f07b25bdd968b3fd75b30b4d3f23fe17e878b2 (patch) | |
tree | c7db06d6d7ec271a87f5e2a8cefb36793ce6304b /lib/libtls/man/tls_init.3 | |
parent | add "int stall" argument required by filesystem stall code; from Tomohiro Kusumi (diff) | |
download | wireguard-openbsd-62f07b25bdd968b3fd75b30b4d3f23fe17e878b2.tar.xz wireguard-openbsd-62f07b25bdd968b3fd75b30b4d3f23fe17e878b2.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 'lib/libtls/man/tls_init.3')
-rw-r--r-- | lib/libtls/man/tls_init.3 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libtls/man/tls_init.3 b/lib/libtls/man/tls_init.3 index c83c0375abe..fe8847d0acd 100644 --- a/lib/libtls/man/tls_init.3 +++ b/lib/libtls/man/tls_init.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: tls_init.3,v 1.7 2017/05/06 21:18:48 jsing Exp $ +.\" $OpenBSD: tls_init.3,v 1.8 2018/03/07 17:17:47 beck Exp $ .\" .\" Copyright (c) 2014 Ted Unangst <tedu@openbsd.org> .\" Copyright (c) 2016 Joel Sing <jsing@openbsd.org> @@ -16,7 +16,7 @@ .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" -.Dd $Mdocdate: May 6 2017 $ +.Dd $Mdocdate: March 7 2018 $ .Dt TLS_INIT 3 .Os .Sh NAME @@ -46,7 +46,7 @@ The .Fn tls_init function initializes global data structures. It should be called once before any other functions. -It may be called more than once, but not concurrently. +It may be called more than once, and may be called concurrently. .Pp Before a connection is created, a configuration must be created. The |