diff options
| author | bcook <> | 2018-11-11 06:41:28 +0000 |
|---|---|---|
| committer | bcook <> | 2018-11-11 06:41:28 +0000 |
| commit | c3082ab78ba758ef51c552b6a91bdf1236de0cf8 (patch) | |
| tree | 6d18ff101148258c403e820ff423d10a65fba89e /src/lib/libcrypto/Makefile | |
| parent | 32ccc9aa9f3dd1c0efa02d4b21376521a91e4705 (diff) | |
| download | openbsd-c3082ab78ba758ef51c552b6a91bdf1236de0cf8.tar.gz openbsd-c3082ab78ba758ef51c552b6a91bdf1236de0cf8.tar.bz2 openbsd-c3082ab78ba758ef51c552b6a91bdf1236de0cf8.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/libcrypto/Makefile')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 7f6322ff7f..6e6effc9b4 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.28 2018/10/24 17:57:22 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.29 2018/11/11 06:41:28 bcook Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -37,7 +37,7 @@ SYMBOL_LIST= ${.CURDIR}/Symbols.list | |||
| 37 | # crypto/ | 37 | # crypto/ |
| 38 | SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c | 38 | SRCS+= cryptlib.c malloc-wrapper.c mem_dbg.c cversion.c ex_data.c cpt_err.c |
| 39 | SRCS+= o_time.c o_str.c o_init.c | 39 | SRCS+= o_time.c o_str.c o_init.c |
| 40 | SRCS+= mem_clr.c crypto_init.c | 40 | SRCS+= mem_clr.c crypto_init.c crypto_lock.c |
| 41 | 41 | ||
| 42 | # aes/ | 42 | # aes/ |
| 43 | SRCS+= aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c | 43 | SRCS+= aes_misc.c aes_ecb.c aes_cfb.c aes_ofb.c |
