summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/err/err_prn.c
diff options
context:
space:
mode:
authortb <>2024-03-02 11:37:13 +0000
committertb <>2024-03-02 11:37:13 +0000
commit0340c5dc4c22ea26987e0f29706413898d25e394 (patch)
tree22ca385e8261665022d07254b0ff103cb0c2f6f4 /src/lib/libcrypto/err/err_prn.c
parent0e0cb92067894b44c4616c0ca3622a555adf404c (diff)
downloadopenbsd-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/err/err_prn.c')
-rw-r--r--src/lib/libcrypto/err/err_prn.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/err/err_prn.c b/src/lib/libcrypto/err/err_prn.c
index 61f4dad574..fb6e19c54c 100644
--- a/src/lib/libcrypto/err/err_prn.c
+++ b/src/lib/libcrypto/err/err_prn.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: err_prn.c,v 1.22 2024/01/10 14:23:37 tb Exp $ */ 1/* $OpenBSD: err_prn.c,v 1.23 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 *
@@ -66,6 +66,7 @@
66#include <openssl/lhash.h> 66#include <openssl/lhash.h>
67 67
68#include "bio_local.h" 68#include "bio_local.h"
69#include "crypto_local.h"
69 70
70void 71void
71ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u) 72ERR_print_errors_cb(int (*cb)(const char *str, size_t len, void *u), void *u)