From 0340c5dc4c22ea26987e0f29706413898d25e394 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 2 Mar 2024 11:37:13 +0000 Subject: 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 --- src/lib/libcrypto/cryptlib.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/cryptlib.c') 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 @@ -/* $OpenBSD: cryptlib.c,v 1.47 2023/12/14 15:31:22 tb Exp $ */ +/* $OpenBSD: cryptlib.c,v 1.48 2024/03/02 11:37:13 tb Exp $ */ /* ==================================================================== * Copyright (c) 1998-2006 The OpenSSL Project. All rights reserved. * @@ -124,6 +124,8 @@ #include #include +#include "crypto_local.h" + static void (*locking_callback)(int mode, int type, const char *file, int line) = NULL; static int (*add_lock_callback)(int *pointer, int amount, -- cgit v1.2.3-55-g6feb