From 8d2b78c5e17d7734a67e7476a85adbbb8de41cf2 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 24 Feb 2024 07:53:01 +0000 Subject: 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 --- src/lib/libcrypto/err/err.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'src/lib') 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 @@ -/* $OpenBSD: err.c,v 1.57 2024/02/24 07:50:25 tb Exp $ */ +/* $OpenBSD: err.c,v 1.58 2024/02/24 07:53:01 tb Exp $ */ /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) * All rights reserved. * @@ -334,11 +334,8 @@ int_err_get(int create) LHASH_OF(ERR_STRING_DATA) *ret = NULL; CRYPTO_w_lock(CRYPTO_LOCK_ERR); - if (!int_error_hash && create) { - CRYPTO_push_info("int_err_get (err.c)"); + if (!int_error_hash && create) int_error_hash = lh_ERR_STRING_DATA_new(); - CRYPTO_pop_info(); - } if (int_error_hash) ret = int_error_hash; CRYPTO_w_unlock(CRYPTO_LOCK_ERR); @@ -431,11 +428,8 @@ int_thread_get(int create) LHASH_OF(ERR_STATE) *ret = NULL; CRYPTO_w_lock(CRYPTO_LOCK_ERR); - if (!int_thread_hash && create) { - CRYPTO_push_info("int_thread_get (err.c)"); + if (!int_thread_hash && create) int_thread_hash = lh_ERR_STATE_new(); - CRYPTO_pop_info(); - } if (int_thread_hash) { int_thread_hash_references++; ret = int_thread_hash; -- cgit v1.2.3-55-g6feb