projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Seek out and destroy another evil cast.
[openssl.git]
/
crypto
/
asn1
/
i2d_dhp.c
diff --git
a/crypto/asn1/i2d_dhp.c
b/crypto/asn1/i2d_dhp.c
index fdda4ec41bcc2270e5eb122847087db3784f8f43..61eeb646f9e2eb59a893a8b280febf9591d5a975 100644
(file)
--- 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]);