summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorbcook <bcook@openbsd.org>2018-11-11 06:41:28 +0000
committerbcook <bcook@openbsd.org>2018-11-11 06:41:28 +0000
commit3938ed1ebd7560655156b4463ed629b56b149c35 (patch)
tree0017d2ce22455fa146c3cc54b66e3d7908a3776e /lib/libssl/ssl_lib.c
parentwhen encapsulating mpls, map the mpls qos value to an ip tos. (diff)
downloadwireguard-openbsd-3938ed1ebd7560655156b4463ed629b56b149c35.tar.xz
wireguard-openbsd-3938ed1ebd7560655156b4463ed629b56b149c35.zip
Add automatic threading initialization for libcrypto.
This implements automatic thread support initialization in libcrypto. This does not remove any functions from the ABI, but does turn them into no-ops. Stub implementations of pthread_mutex_(init|lock|unlock) are provided for ramdisks. This does not implement the new OpenSSL 1.1 thread API internally, keeping the original CRYTPO_lock / CRYPTO_add_lock functions for library locking. For -portable, crypto_lock.c can be reimplemented with OS-specific primitives as needed. ok beck@, tb@, looks sane guenther@
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions