summaryrefslogtreecommitdiffstats
path: root/crypto/asn1/n_pkey.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/n_pkey.c
parent1749d8a039e637a6ab06f30cd0351605b44dc625 (diff)
Seek out and destroy another evil cast.
Diffstat (limited to 'crypto/asn1/n_pkey.c')
-rw-r--r--crypto/asn1/n_pkey.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/asn1/n_pkey.c b/crypto/asn1/n_pkey.c
index 7e3d666f6e..d804986b73 100644
--- a/crypto/asn1/n_pkey.c
+++ b/crypto/asn1/n_pkey.c
@@ -139,7 +139,7 @@ int i2d_Netscape_RSA(RSA *a, unsigned char **pp, int (*cb)())
}
if (pkey->private_key->data != NULL)
- Free((char *)pkey->private_key->data);
+ Free(pkey->private_key->data);
if ((pkey->private_key->data=(unsigned char *)Malloc(l[0])) == NULL)
{
ASN1err(ASN1_F_I2D_NETSCAPE_RSA,ERR_R_MALLOC_FAILURE);
@@ -334,7 +334,7 @@ static void NETSCAPE_PKEY_free(NETSCAPE_PKEY *a)
M_ASN1_INTEGER_free(a->version);
X509_ALGOR_free(a->algor);
M_ASN1_OCTET_STRING_free(a->private_key);
- Free((char *)a);
+ Free(a);
}
#endif /* NO_RC4 */