diff options
author | deraadt <> | 2014-04-17 21:32:37 +0000 |
---|---|---|
committer | deraadt <> | 2014-04-17 21:32:37 +0000 |
commit | 5f4d080a0e8eb89385e3020de8bbbd5243abf8dc (patch) | |
tree | 589999d558151d9470b6fb5b9841d45126ba2d8b /src/lib/libcrypto/asn1/x_info.c | |
parent | 1388c217f6044b4ae8ebf791a8eb6012e2a4c2bb (diff) | |
download | openbsd-5f4d080a0e8eb89385e3020de8bbbd5243abf8dc.tar.gz openbsd-5f4d080a0e8eb89385e3020de8bbbd5243abf8dc.tar.bz2 openbsd-5f4d080a0e8eb89385e3020de8bbbd5243abf8dc.zip |
kill REF_PRINT/REF_CHECK debugging framework noone would use
ok miod
Diffstat (limited to 'src/lib/libcrypto/asn1/x_info.c')
-rw-r--r-- | src/lib/libcrypto/asn1/x_info.c | 10 |
1 files changed, 0 insertions, 10 deletions
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) | |||
91 | if (x == NULL) return; | 91 | if (x == NULL) return; |
92 | 92 | ||
93 | i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_X509_INFO); | 93 | i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_X509_INFO); |
94 | #ifdef REF_PRINT | ||
95 | REF_PRINT("X509_INFO",x); | ||
96 | #endif | ||
97 | if (i > 0) return; | 94 | if (i > 0) return; |
98 | #ifdef REF_CHECK | ||
99 | if (i < 0) | ||
100 | { | ||
101 | fprintf(stderr,"X509_INFO_free, bad reference count\n"); | ||
102 | abort(); | ||
103 | } | ||
104 | #endif | ||
105 | 95 | ||
106 | if (x->x509 != NULL) X509_free(x->x509); | 96 | if (x->x509 != NULL) X509_free(x->x509); |
107 | if (x->crl != NULL) X509_CRL_free(x->crl); | 97 | if (x->crl != NULL) X509_CRL_free(x->crl); |