summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/asn1/n_pkey.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/asn1/n_pkey.c')
-rw-r--r--src/lib/libcrypto/asn1/n_pkey.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/n_pkey.c b/src/lib/libcrypto/asn1/n_pkey.c
index 0e58baf1b5..1a724cfed7 100644
--- a/src/lib/libcrypto/asn1/n_pkey.c
+++ b/src/lib/libcrypto/asn1/n_pkey.c
@@ -163,7 +163,7 @@ i2d_RSA_NET(const RSA *a, unsigned char **pp,
163 } 163 }
164 164
165 /* Since its RC4 encrypted length is actual length */ 165 /* Since its RC4 encrypted length is actual length */
166 if ((zz = (unsigned char *)malloc(rsalen)) == NULL) { 166 if ((zz = malloc(rsalen)) == NULL) {
167 ASN1err(ASN1_F_I2D_RSA_NET, ERR_R_MALLOC_FAILURE); 167 ASN1err(ASN1_F_I2D_RSA_NET, ERR_R_MALLOC_FAILURE);
168 goto err; 168 goto err;
169 } 169 }