diff options
author | beck <> | 2000-03-19 11:13:58 +0000 |
---|---|---|
committer | beck <> | 2000-03-19 11:13:58 +0000 |
commit | 796d609550df3a33fc11468741c5d2f6d3df4c11 (patch) | |
tree | 6c6d539061caa20372dad0ac4ddb1dfae2fbe7fe /src/lib/libcrypto/cryptlib.c | |
parent | 5be3114c1fd7e0dfea1e38d3abb4cbba75244419 (diff) | |
download | openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.gz openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.tar.bz2 openbsd-796d609550df3a33fc11468741c5d2f6d3df4c11.zip |
OpenSSL 0.9.5 merge
*warning* this bumps shared lib minors for libssl and libcrypto from 2.1 to 2.2
if you are using the ssl26 packages for ssh and other things to work you will
need to get new ones (see ~beck/libsslsnap/<arch>) on cvs or ~beck/src-patent.tar.gz on cvs
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
-rw-r--r-- | src/lib/libcrypto/cryptlib.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/cryptlib.c b/src/lib/libcrypto/cryptlib.c index 356c476a99..a8f29f1e65 100644 --- a/src/lib/libcrypto/cryptlib.c +++ b/src/lib/libcrypto/cryptlib.c | |||
@@ -92,7 +92,9 @@ static const char* lock_names[CRYPTO_NUM_LOCKS] = | |||
92 | "getservbyname", | 92 | "getservbyname", |
93 | "readdir", | 93 | "readdir", |
94 | "RSA_blinding", | 94 | "RSA_blinding", |
95 | #if CRYPTO_NUM_LOCKS != 24 | 95 | "dh", |
96 | "debug_malloc2", | ||
97 | #if CRYPTO_NUM_LOCKS != 26 | ||
96 | # error "Inconsistency between crypto.h and cryptlib.c" | 98 | # error "Inconsistency between crypto.h and cryptlib.c" |
97 | #endif | 99 | #endif |
98 | }; | 100 | }; |
@@ -181,7 +183,7 @@ unsigned long CRYPTO_thread_id(void) | |||
181 | ret=(unsigned long)GetCurrentTask(); | 183 | ret=(unsigned long)GetCurrentTask(); |
182 | #elif defined(WIN32) | 184 | #elif defined(WIN32) |
183 | ret=(unsigned long)GetCurrentThreadId(); | 185 | ret=(unsigned long)GetCurrentThreadId(); |
184 | #elif defined(MSDOS) | 186 | #elif defined(GETPID_IS_MEANINGLESS) |
185 | ret=1L; | 187 | ret=1L; |
186 | #else | 188 | #else |
187 | ret=(unsigned long)getpid(); | 189 | ret=(unsigned long)getpid(); |