From 5f4d080a0e8eb89385e3020de8bbbd5243abf8dc Mon Sep 17 00:00:00 2001 From: deraadt <> Date: Thu, 17 Apr 2014 21:32:37 +0000 Subject: kill REF_PRINT/REF_CHECK debugging framework noone would use ok miod --- src/lib/libcrypto/asn1/x_info.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/lib/libcrypto/asn1/x_info.c') diff --git a/src/lib/libcrypto/asn1/x_info.c b/src/lib/libcrypto/asn1/x_info.c index c13fad056f..cb5b6634a1 100644 --- a/src/lib/libcrypto/asn1/x_info.c +++ b/src/lib/libcrypto/asn1/x_info.c @@ -91,17 +91,7 @@ void X509_INFO_free(X509_INFO *x) if (x == NULL) return; i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_X509_INFO); -#ifdef REF_PRINT - REF_PRINT("X509_INFO",x); -#endif if (i > 0) return; -#ifdef REF_CHECK - if (i < 0) - { - fprintf(stderr,"X509_INFO_free, bad reference count\n"); - abort(); - } -#endif if (x->x509 != NULL) X509_free(x->x509); if (x->crl != NULL) X509_CRL_free(x->crl); -- cgit v1.2.3-55-g6feb