diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/x_pkey.c')
| -rw-r--r-- | src/lib/libcrypto/asn1/x_pkey.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/lib/libcrypto/asn1/x_pkey.c b/src/lib/libcrypto/asn1/x_pkey.c index 3bf2f5e915..c37f207e33 100644 --- a/src/lib/libcrypto/asn1/x_pkey.c +++ b/src/lib/libcrypto/asn1/x_pkey.c | |||
| @@ -131,17 +131,7 @@ void X509_PKEY_free(X509_PKEY *x) | |||
| 131 | if (x == NULL) return; | 131 | if (x == NULL) return; |
| 132 | 132 | ||
| 133 | i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_X509_PKEY); | 133 | i=CRYPTO_add(&x->references,-1,CRYPTO_LOCK_X509_PKEY); |
| 134 | #ifdef REF_PRINT | ||
| 135 | REF_PRINT("X509_PKEY",x); | ||
| 136 | #endif | ||
| 137 | if (i > 0) return; | 134 | if (i > 0) return; |
| 138 | #ifdef REF_CHECK | ||
| 139 | if (i < 0) | ||
| 140 | { | ||
| 141 | fprintf(stderr,"X509_PKEY_free, bad reference count\n"); | ||
| 142 | abort(); | ||
| 143 | } | ||
| 144 | #endif | ||
| 145 | 135 | ||
| 146 | if (x->enc_algor != NULL) X509_ALGOR_free(x->enc_algor); | 136 | if (x->enc_algor != NULL) X509_ALGOR_free(x->enc_algor); |
| 147 | if (x->enc_pkey != NULL) M_ASN1_OCTET_STRING_free(x->enc_pkey); | 137 | if (x->enc_pkey != NULL) M_ASN1_OCTET_STRING_free(x->enc_pkey); |
