diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-04-17 21:32:38 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2014-04-17 21:32:38 +0000 |
commit | 1d52fd31b115b1f96773297f0d189ae8cefecb49 (patch) | |
tree | 87d36fc5ade26fd13815c12609cc65310c784de3 /lib/libcrypto/err/err.c | |
parent | 4238816d314ca1c00282dae135a7a4f8679b6e3c (diff) |
kill REF_PRINT/REF_CHECK debugging framework noone would use
ok miod
Diffstat (limited to 'lib/libcrypto/err/err.c')
-rw-r--r-- | lib/libcrypto/err/err.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/lib/libcrypto/err/err.c b/lib/libcrypto/err/err.c index 93ed1da943c..afc3130d08a 100644 --- a/lib/libcrypto/err/err.c +++ b/lib/libcrypto/err/err.c @@ -467,18 +467,8 @@ static void int_thread_release(LHASH_OF(ERR_STATE) **hash) return; i = CRYPTO_add(&int_thread_hash_references, -1, CRYPTO_LOCK_ERR); - -#ifdef REF_PRINT - fprintf(stderr,"%4d:%s\n",int_thread_hash_references,"ERR"); -#endif if (i > 0) return; -#ifdef REF_CHECK - if (i < 0) - { - fprintf(stderr,"int_thread_release, bad reference count\n"); - abort(); /* ok */ - } -#endif + *hash = NULL; } |