summaryrefslogtreecommitdiff
path: root/src/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorbcook <>2018-11-11 06:41:28 +0000
committerbcook <>2018-11-11 06:41:28 +0000
commit3c41ae7ec959c3c608931951c8655a0e1df18696 (patch)
tree6d18ff101148258c403e820ff423d10a65fba89e /src/lib/libssl/ssl_lib.c
parentfb0d38f81ef4f4b01d1eec7bb9c9d7b9d9871e79 (diff)
downloadopenbsd-3c41ae7ec959c3c608931951c8655a0e1df18696.tar.gz
openbsd-3c41ae7ec959c3c608931951c8655a0e1df18696.tar.bz2
openbsd-3c41ae7ec959c3c608931951c8655a0e1df18696.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 'src/lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions