summaryrefslogtreecommitdiffstats
path: root/crypto/x509v3/v3_extku.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/x509v3/v3_extku.c')
-rw-r--r--crypto/x509v3/v3_extku.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/x509v3/v3_extku.c b/crypto/x509v3/v3_extku.c
index e039d21cbf..53ec40a027 100644
--- a/crypto/x509v3/v3_extku.c
+++ b/crypto/x509v3/v3_extku.c
@@ -129,7 +129,7 @@ ASN1_OBJECT *objtmp;
CONF_VALUE *val;
int i;
-if(!(extku = sk_ASN1_OBJECT_new(NULL))) {
+if(!(extku = sk_ASN1_OBJECT_new_null())) {
X509V3err(X509V3_F_V2I_EXT_KU,ERR_R_MALLOC_FAILURE);
return NULL;
}