Make the algorithm implementations depend on the corresponding
[oweals/openssl.git] / crypto / asn1 / a_set.c
index 1921f5eaa1256929ab2b8372e8dc05d06bd92197..caf5a1419c98cbe201acbacfc8e24b99ecd58eab 100644 (file)
@@ -158,7 +158,7 @@ STACK *d2i_ASN1_SET(STACK **a, unsigned char **pp, long length,
        STACK *ret=NULL;
 
        if ((a == NULL) || ((*a) == NULL))
-               { if ((ret=sk_new(NULL)) == NULL) goto err; }
+               { if ((ret=sk_new_null()) == NULL) goto err; }
        else
                ret=(*a);