summaryrefslogtreecommitdiff
path: root/lib/libcrypto/asn1/i2d_dhp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libcrypto/asn1/i2d_dhp.c')
-rw-r--r--lib/libcrypto/asn1/i2d_dhp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libcrypto/asn1/i2d_dhp.c b/lib/libcrypto/asn1/i2d_dhp.c
index fdda4ec41bc..61eeb646f9e 100644
--- a/lib/libcrypto/asn1/i2d_dhp.c
+++ b/lib/libcrypto/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]);