diff options
| author | tb <> | 2024-03-02 11:37:13 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 11:37:13 +0000 |
| commit | 0340c5dc4c22ea26987e0f29706413898d25e394 (patch) | |
| tree | 22ca385e8261665022d07254b0ff103cb0c2f6f4 /src/lib/libcrypto/cryptlib.c | |
| parent | 0e0cb92067894b44c4616c0ca3622a555adf404c (diff) | |
| download | openbsd-0340c5dc4c22ea26987e0f29706413898d25e394.tar.gz openbsd-0340c5dc4c22ea26987e0f29706413898d25e394.tar.bz2 openbsd-0340c5dc4c22ea26987e0f29706413898d25e394.zip | |
Make CRYPTO_THREADID opaque
With ERR_STATE out of the way, we can make CRYPTO_THREADID opaque.
The type is still accessed by used public API, but some of the public
API can also go away.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/cryptlib.c')
| -rw-r--r-- | src/lib/libcrypto/cryptlib.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/cryptlib.c b/src/lib/libcrypto/cryptlib.c index 28b50c2c17..abf1159400 100644 --- a/src/lib/libcrypto/cryptlib.c +++ b/src/lib/libcrypto/cryptlib.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: cryptlib.c,v 1.47 2023/12/14 15:31:22 tb Exp $ */ | 1 | /* $OpenBSD: cryptlib.c,v 1.48 2024/03/02 11:37:13 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. | 3 | * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. |
| 4 | * | 4 | * |
| @@ -124,6 +124,8 @@ | |||
| 124 | #include <openssl/opensslconf.h> | 124 | #include <openssl/opensslconf.h> |
| 125 | #include <openssl/crypto.h> | 125 | #include <openssl/crypto.h> |
| 126 | 126 | ||
| 127 | #include "crypto_local.h" | ||
| 128 | |||
| 127 | static void (*locking_callback)(int mode, int type, | 129 | static void (*locking_callback)(int mode, int type, |
| 128 | const char *file, int line) = NULL; | 130 | const char *file, int line) = NULL; |
| 129 | static int (*add_lock_callback)(int *pointer, int amount, | 131 | static int (*add_lock_callback)(int *pointer, int amount, |
