summaryrefslogtreecommitdiffstats
path: root/crypto/err
diff options
context:
space:
mode:
authorRich Salz <rsalz@akamai.com>2015-12-16 23:02:47 -0500
committerRich Salz <rsalz@openssl.org>2015-12-22 09:11:07 -0500
commit4fae386cb0563a0c05c2817a5ccb3c18e6d62d8d (patch)
treebe4d48641c4e87ab56a24df3e4c4f937c9bb2c34 /crypto/err
parentc99de0533debc8a6ed08b47b414bdea19457eafd (diff)
Cleanup CRYPTO_{push,pop}_info
Rename to OPENSSL_mem_debug_{push,pop}. Remove simple calls; keep only calls used in recursive functions. Ensure we always push, to simplify so that we can always pop Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'crypto/err')
-rw-r--r--crypto/err/err.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/crypto/err/err.c b/crypto/err/err.c
index 236f8ac546..e487e980cb 100644
--- a/crypto/err/err.c
+++ b/crypto/err/err.c
@@ -276,9 +276,7 @@ static LHASH_OF(ERR_STRING_DATA) *get_hash(int create, int lockit)
if (lockit)
CRYPTO_w_lock(CRYPTO_LOCK_ERR);
if (!int_error_hash && create) {
- CRYPTO_push_info("get_hash (err.c)");
int_error_hash = lh_ERR_STRING_DATA_new();
- CRYPTO_pop_info();
}
if (int_error_hash != NULL)
ret = int_error_hash;
@@ -323,9 +321,7 @@ static LHASH_OF(ERR_STATE) *int_thread_get(int create, int lockit)
if (lockit)
CRYPTO_w_lock(CRYPTO_LOCK_ERR);
if (!int_thread_hash && create) {
- CRYPTO_push_info("int_thread_get (err.c)");
int_thread_hash = lh_ERR_STATE_new();
- CRYPTO_pop_info();
}
if (int_thread_hash != NULL) {
int_thread_hash_references++;