aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/asn1_lib.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/asn1_lib.c
parent1749d8a039e637a6ab06f30cd0351605b44dc625 (diff)
downloadopenssl-51ca375e7e640c6f1441d74abcda731ef7306d0c.tar.gz
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/asn1/asn1_lib.c')
-rw-r--r--crypto/asn1/asn1_lib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/asn1_lib.c b/crypto/asn1/asn1_lib.c
index ddb7869958..65eaa96c14 100644
--- a/crypto/asn1/asn1_lib.c
+++ b/crypto/asn1/asn1_lib.c
@@ -381,8 +381,8 @@ ASN1_STRING *ASN1_STRING_type_new(int type)
void ASN1_STRING_free(ASN1_STRING *a)
{
if (a == NULL) return;
- if (a->data != NULL) Free((char *)a->data);
- Free((char *)a);
+ if (a->data != NULL) Free(a->data);
+ Free(a);
}
int ASN1_STRING_cmp(ASN1_STRING *a, ASN1_STRING *b)