diff options
author | tb <> | 2024-02-24 07:53:01 +0000 |
---|---|---|
committer | tb <> | 2024-02-24 07:53:01 +0000 |
commit | 8d2b78c5e17d7734a67e7476a85adbbb8de41cf2 (patch) | |
tree | 9b95541bb991acfa98735471564e28a6cc2711d8 /src/lib | |
parent | f053354625552df382c031246b742194392db0c5 (diff) | |
download | openbsd-8d2b78c5e17d7734a67e7476a85adbbb8de41cf2.tar.gz openbsd-8d2b78c5e17d7734a67e7476a85adbbb8de41cf2.tar.bz2 openbsd-8d2b78c5e17d7734a67e7476a85adbbb8de41cf2.zip |
Remove last calls to CRYPTO_{push,pop}_info()
These don't do anything but return 0 and will be garbage collected in the
upcoming bump.
ok jsing
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/err/err.c | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/lib/libcrypto/err/err.c b/src/lib/libcrypto/err/err.c index f13e889da9..036396bc1a 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.57 2024/02/24 07:50:25 tb Exp $ */ | 1 | /* $OpenBSD: err.c,v 1.58 2024/02/24 07:53:01 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 | * |
@@ -334,11 +334,8 @@ int_err_get(int create) | |||
334 | LHASH_OF(ERR_STRING_DATA) *ret = NULL; | 334 | LHASH_OF(ERR_STRING_DATA) *ret = NULL; |
335 | 335 | ||
336 | CRYPTO_w_lock(CRYPTO_LOCK_ERR); | 336 | CRYPTO_w_lock(CRYPTO_LOCK_ERR); |
337 | if (!int_error_hash && create) { | 337 | if (!int_error_hash && create) |
338 | CRYPTO_push_info("int_err_get (err.c)"); | ||
339 | int_error_hash = lh_ERR_STRING_DATA_new(); | 338 | int_error_hash = lh_ERR_STRING_DATA_new(); |
340 | CRYPTO_pop_info(); | ||
341 | } | ||
342 | if (int_error_hash) | 339 | if (int_error_hash) |
343 | ret = int_error_hash; | 340 | ret = int_error_hash; |
344 | CRYPTO_w_unlock(CRYPTO_LOCK_ERR); | 341 | CRYPTO_w_unlock(CRYPTO_LOCK_ERR); |
@@ -431,11 +428,8 @@ int_thread_get(int create) | |||
431 | LHASH_OF(ERR_STATE) *ret = NULL; | 428 | LHASH_OF(ERR_STATE) *ret = NULL; |
432 | 429 | ||
433 | CRYPTO_w_lock(CRYPTO_LOCK_ERR); | 430 | CRYPTO_w_lock(CRYPTO_LOCK_ERR); |
434 | if (!int_thread_hash && create) { | 431 | if (!int_thread_hash && create) |
435 | CRYPTO_push_info("int_thread_get (err.c)"); | ||
436 | int_thread_hash = lh_ERR_STATE_new(); | 432 | int_thread_hash = lh_ERR_STATE_new(); |
437 | CRYPTO_pop_info(); | ||
438 | } | ||
439 | if (int_thread_hash) { | 433 | if (int_thread_hash) { |
440 | int_thread_hash_references++; | 434 | int_thread_hash_references++; |
441 | ret = int_thread_hash; | 435 | ret = int_thread_hash; |