summaryrefslogtreecommitdiff
path: root/crypto/asn1/x_spki.c
diff options
context:
space:
mode:
authorUlf Möller <ulf@openssl.org>2000-01-30 23:33:40 +0000
committerUlf Möller <ulf@openssl.org>2000-01-30 23:33:40 +0000
commit51ca375e7e640c6f1441d74abcda731ef7306d0c (patch)
tree8b661d70f98b8d819edea5f777117ec7be03fab7 /crypto/asn1/x_spki.c
parent1749d8a039e637a6ab06f30cd0351605b44dc625 (diff)
downloadopenssl-new-51ca375e7e640c6f1441d74abcda731ef7306d0c.tar.gz
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/asn1/x_spki.c')
-rw-r--r--crypto/asn1/x_spki.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/x_spki.c b/crypto/asn1/x_spki.c
index 42493d955a..c1d8fce71c 100644
--- a/crypto/asn1/x_spki.c
+++ b/crypto/asn1/x_spki.c
@@ -109,7 +109,7 @@ void NETSCAPE_SPKAC_free(NETSCAPE_SPKAC *a)
if (a == NULL) return;
X509_PUBKEY_free(a->pubkey);
M_ASN1_IA5STRING_free(a->challenge);
- Free((char *)a);
+ Free(a);
}
int i2d_NETSCAPE_SPKI(NETSCAPE_SPKI *a, unsigned char **pp)
@@ -161,6 +161,6 @@ void NETSCAPE_SPKI_free(NETSCAPE_SPKI *a)
NETSCAPE_SPKAC_free(a->spkac);
X509_ALGOR_free(a->sig_algor);
M_ASN1_BIT_STRING_free(a->signature);
- Free((char *)a);
+ Free(a);
}