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/err/err.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/err/err.c')
| -rw-r--r-- | src/lib/libcrypto/err/err.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index acbcda76cc..a7b13a5404 100644 --- a/src/lib/libcrypto/err/err.c +++ b/src/lib/libcrypto/err/err.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: err.c,v 1.59 2024/03/02 10:30:48 tb Exp $ */ | 1 | /* $OpenBSD: err.c,v 1.60 2024/03/02 11:37:13 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -122,6 +122,8 @@ | |||
| 122 | #include <openssl/err.h> | 122 | #include <openssl/err.h> |
| 123 | #include <openssl/lhash.h> | 123 | #include <openssl/lhash.h> |
| 124 | 124 | ||
| 125 | #include "crypto_local.h" | ||
| 126 | |||
| 125 | DECLARE_LHASH_OF(ERR_STRING_DATA); | 127 | DECLARE_LHASH_OF(ERR_STRING_DATA); |
| 126 | DECLARE_LHASH_OF(ERR_STATE); | 128 | DECLARE_LHASH_OF(ERR_STATE); |
| 127 | 129 | ||
