diff options
Diffstat (limited to 'src/lib/libcrypto/asn1/x_x509.c')
-rw-r--r-- | src/lib/libcrypto/asn1/x_x509.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/asn1/x_x509.c b/src/lib/libcrypto/asn1/x_x509.c index de3df9eb51..5734f2b069 100644 --- a/src/lib/libcrypto/asn1/x_x509.c +++ b/src/lib/libcrypto/asn1/x_x509.c | |||
@@ -105,7 +105,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, | |||
105 | break; | 105 | break; |
106 | 106 | ||
107 | case ASN1_OP_D2I_POST: | 107 | case ASN1_OP_D2I_POST: |
108 | if (ret->name != NULL) OPENSSL_free(ret->name); | 108 | if (ret->name != NULL) free(ret->name); |
109 | ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); | 109 | ret->name=X509_NAME_oneline(ret->cert_info->subject,NULL,0); |
110 | break; | 110 | break; |
111 | 111 | ||
@@ -123,7 +123,7 @@ static int x509_cb(int operation, ASN1_VALUE **pval, const ASN1_ITEM *it, | |||
123 | ASIdentifiers_free(ret->rfc3779_asid); | 123 | ASIdentifiers_free(ret->rfc3779_asid); |
124 | #endif | 124 | #endif |
125 | 125 | ||
126 | if (ret->name != NULL) OPENSSL_free(ret->name); | 126 | if (ret->name != NULL) free(ret->name); |
127 | break; | 127 | break; |
128 | 128 | ||
129 | } | 129 | } |