summaryrefslogtreecommitdiff
path: root/crypto/openssl/crypto/pkcs12/p12_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/openssl/crypto/pkcs12/p12_lib.c')
-rw-r--r--crypto/openssl/crypto/pkcs12/p12_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssl/crypto/pkcs12/p12_lib.c b/crypto/openssl/crypto/pkcs12/p12_lib.c
index 00a6695d9b71..7ca9c14908a2 100644
--- a/crypto/openssl/crypto/pkcs12/p12_lib.c
+++ b/crypto/openssl/crypto/pkcs12/p12_lib.c
@@ -104,8 +104,8 @@ PKCS12 *PKCS12_new(void)
void PKCS12_free (PKCS12 *a)
{
if (a == NULL) return;
- ASN1_INTEGER_free (a->version);
+ M_ASN1_INTEGER_free(a->version);
PKCS12_MAC_DATA_free (a->mac);
PKCS7_free (a->authsafes);
- Free ((char *)a);
+ Free (a);
}