Remove last calls to CRYPTO_{push,pop}_info()
authortb <tb@openbsd.org>
Sat, 24 Feb 2024 07:53:01 +0000 (07:53 +0000)
committertb <tb@openbsd.org>
Sat, 24 Feb 2024 07:53:01 +0000 (07:53 +0000)
These don't do anything but return 0 and will be garbage collected in the
upcoming bump.

ok jsing

lib/libcrypto/err/err.c

index f13e889..036396b 100644 (file)
@@ -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;