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/evp/p_lib.c | |
parent | 4238816d314ca1c00282dae135a7a4f8679b6e3c (diff) |
kill REF_PRINT/REF_CHECK debugging framework noone would use
ok miod
Diffstat (limited to 'lib/libcrypto/evp/p_lib.c')
-rw-r--r-- | lib/libcrypto/evp/p_lib.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/libcrypto/evp/p_lib.c b/lib/libcrypto/evp/p_lib.c index 7a9da3487a8..5f5f5e328da 100644 --- a/lib/libcrypto/evp/p_lib.c +++ b/lib/libcrypto/evp/p_lib.c @@ -391,17 +391,8 @@ void EVP_PKEY_free(EVP_PKEY *x) if (x == NULL) return; i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_EVP_PKEY); -#ifdef REF_PRINT - REF_PRINT("EVP_PKEY",x); -#endif if (i > 0) return; -#ifdef REF_CHECK - if (i < 0) - { - fprintf(stderr,"EVP_PKEY_free, bad reference count\n"); - abort(); - } -#endif + EVP_PKEY_free_it(x); if (x->attributes) sk_X509_ATTRIBUTE_pop_free(x->attributes, X509_ATTRIBUTE_free); |