diff options
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); |
