Change OPENSSL_strdup() to strdup()
authorjob <job@openbsd.org>
Thu, 2 Sep 2021 21:40:32 +0000 (21:40 +0000)
committerjob <job@openbsd.org>
Thu, 2 Sep 2021 21:40:32 +0000 (21:40 +0000)
OK tb@

lib/libcrypto/x509/x509_asid.c

index 511002a..f35d5e9 100644 (file)
@@ -761,7 +761,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method,
                 goto err;
             }
         } else {
-            char *s = OPENSSL_strdup(val->value);
+            char *s = strdup(val->value);
             if (s == NULL) {
                 X509V3error(ERR_R_MALLOC_FAILURE);
                 goto err;