From 51ca375e7e640c6f1441d74abcda731ef7306d0c Mon Sep 17 00:00:00 2001 From: Ulf Möller Date: Sun, 30 Jan 2000 23:33:40 +0000 Subject: Seek out and destroy another evil cast. --- crypto/asn1/x_pkey.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crypto/asn1/x_pkey.c') diff --git a/crypto/asn1/x_pkey.c b/crypto/asn1/x_pkey.c index b8c30b3cd5..fe58919dbb 100644 --- a/crypto/asn1/x_pkey.c +++ b/crypto/asn1/x_pkey.c @@ -146,6 +146,6 @@ void X509_PKEY_free(X509_PKEY *x) if (x->enc_algor != NULL) X509_ALGOR_free(x->enc_algor); if (x->enc_pkey != NULL) M_ASN1_OCTET_STRING_free(x->enc_pkey); if (x->dec_pkey != NULL)EVP_PKEY_free(x->dec_pkey); - if ((x->key_data != NULL) && (x->key_free)) Free((char *)x->key_data); - Free((char *)x); + if ((x->key_data != NULL) && (x->key_free)) Free(x->key_data); + Free(x); } -- cgit v1.2.3