aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_ia5.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_ia5.c')
-rw-r--r--crypto/x509v3/v3_ia5.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_ia5.c b/crypto/x509v3/v3_ia5.c
index af3525f33e..f3bba38269 100644
--- a/crypto/x509v3/v3_ia5.c
+++ b/crypto/x509v3/v3_ia5.c
@@ -82,7 +82,7 @@ static char *i2s_ASN1_IA5STRING(X509V3_EXT_METHOD *method,
{
char *tmp;
if(!ia5 || !ia5->length) return NULL;
- tmp = Malloc(ia5->length + 1);
+ tmp = OPENSSL_malloc(ia5->length + 1);
memcpy(tmp, ia5->data, ia5->length);
tmp[ia5->length] = 0;
return tmp;