Unroll ASN1_ITEM_ref()
authorjob <job@openbsd.org>
Thu, 2 Sep 2021 21:47:50 +0000 (21:47 +0000)
committerjob <job@openbsd.org>
Thu, 2 Sep 2021 21:47:50 +0000 (21:47 +0000)
OK @tb

lib/libcrypto/x509/x509_asid.c

index f35d5e9..f5b5d86 100644 (file)
@@ -806,7 +806,7 @@ static void *v2i_ASIdentifiers(const struct v3_ext_method *method,
 const X509V3_EXT_METHOD v3_asid = {
     NID_sbgp_autonomousSysNum,  /* nid */
     0,                          /* flags */
-    ASN1_ITEM_ref(ASIdentifiers), /* template */
+    &ASIdentifiers_it,          /* template */
     0, 0, 0, 0,                 /* old functions, ignored */
     0,                          /* i2s */
     0,                          /* s2i */