aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/asn1/i2d_dhp.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/i2d_dhp.c
parent1749d8a039e637a6ab06f30cd0351605b44dc625 (diff)
downloadopenssl-51ca375e7e640c6f1441d74abcda731ef7306d0c.tar.gz
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/asn1/i2d_dhp.c')
-rw-r--r--crypto/asn1/i2d_dhp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/asn1/i2d_dhp.c b/crypto/asn1/i2d_dhp.c
index fdda4ec41b..61eeb646f9 100644
--- a/crypto/asn1/i2d_dhp.c
+++ b/crypto/asn1/i2d_dhp.c
@@ -118,7 +118,7 @@ int i2d_DHparams(DH *a, unsigned char **pp)
bs.length=BN_bn2bin(num[i],bs.data);
i2d_ASN1_INTEGER(&bs,&p);
}
- Free((char *)bs.data);
+ Free(bs.data);
ret=t;
err:
if (num[2] != NULL) BN_free(num[2]);