diff options
| author | tb <> | 2024-03-02 11:37:13 +0000 |
|---|---|---|
| committer | tb <> | 2024-03-02 11:37:13 +0000 |
| commit | 17579c0eb7910d89f824a0cb4f9967d3af8a04ac (patch) | |
| tree | 22ca385e8261665022d07254b0ff103cb0c2f6f4 /src/lib/libcrypto/cryptlib.c | |
| parent | 56b8f47fcb1f33005ddab82a541df1a452dc3276 (diff) | |
| download | openbsd-17579c0eb7910d89f824a0cb4f9967d3af8a04ac.tar.gz openbsd-17579c0eb7910d89f824a0cb4f9967d3af8a04ac.tar.bz2 openbsd-17579c0eb7910d89f824a0cb4f9967d3af8a04ac.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, |
