diff options
Diffstat (limited to 'src/lib/libcrypto/err')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 4 | ||||
-rw-r--r-- | src/lib/libcrypto/err/err.h | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index 2eca16d77c..365eae0e90 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.51 2023/03/27 09:15:45 jan Exp $ */ | 1 | /* $OpenBSD: err.c,v 1.52 2023/04/09 19:10:23 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 | * |
@@ -1040,13 +1040,11 @@ ERR_remove_thread_state(const CRYPTO_THREADID *id) | |||
1040 | ERRFN(thread_del_item)(&tmp); | 1040 | ERRFN(thread_del_item)(&tmp); |
1041 | } | 1041 | } |
1042 | 1042 | ||
1043 | #ifndef OPENSSL_NO_DEPRECATED | ||
1044 | void | 1043 | void |
1045 | ERR_remove_state(unsigned long pid) | 1044 | ERR_remove_state(unsigned long pid) |
1046 | { | 1045 | { |
1047 | ERR_remove_thread_state(NULL); | 1046 | ERR_remove_thread_state(NULL); |
1048 | } | 1047 | } |
1049 | #endif | ||
1050 | 1048 | ||
1051 | ERR_STATE * | 1049 | ERR_STATE * |
1052 | ERR_get_state(void) | 1050 | ERR_get_state(void) |
diff --git a/src/lib/libcrypto/err/err.h b/src/lib/libcrypto/err/err.h index 24708c5b1a..b61599d508 100644 --- a/src/lib/libcrypto/err/err.h +++ b/src/lib/libcrypto/err/err.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: err.h,v 1.28 2022/08/29 06:49:24 jsing Exp $ */ | 1 | /* $OpenBSD: err.h,v 1.29 2023/04/09 19:10:23 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 | * |
@@ -395,9 +395,8 @@ void ERR_load_crypto_strings(void); | |||
395 | void ERR_free_strings(void); | 395 | void ERR_free_strings(void); |
396 | 396 | ||
397 | void ERR_remove_thread_state(const CRYPTO_THREADID *tid); | 397 | void ERR_remove_thread_state(const CRYPTO_THREADID *tid); |
398 | #ifndef OPENSSL_NO_DEPRECATED | 398 | /* Wrapped in OPENSSL_NO_DEPRECATED in 0.9.8. Still used in 2023. */ |
399 | void ERR_remove_state(unsigned long pid); /* if zero we look it up */ | 399 | void ERR_remove_state(unsigned long pid); |
400 | #endif | ||
401 | ERR_STATE *ERR_get_state(void); | 400 | ERR_STATE *ERR_get_state(void); |
402 | 401 | ||
403 | #ifndef OPENSSL_NO_LHASH | 402 | #ifndef OPENSSL_NO_LHASH |