Make v3_addr and v3_asid extern const
authorjob <job@openbsd.org>
Thu, 2 Sep 2021 21:27:26 +0000 (21:27 +0000)
committerjob <job@openbsd.org>
Thu, 2 Sep 2021 21:27:26 +0000 (21:27 +0000)
OK tb@

lib/libcrypto/x509/ext_dat.h

index 53f8eb9..18d60b7 100644 (file)
@@ -1,4 +1,4 @@
-/* $OpenBSD: ext_dat.h,v 1.2 2021/09/02 12:41:44 job Exp $ */
+/* $OpenBSD: ext_dat.h,v 1.3 2021/09/02 21:27:26 job Exp $ */
 /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
  * project 1999.
  */
@@ -72,7 +72,7 @@ extern X509V3_EXT_METHOD v3_ocsp_crlid, v3_ocsp_nocheck, v3_ocsp_serviceloc;
 extern X509V3_EXT_METHOD v3_crl_hold, v3_pci;
 extern X509V3_EXT_METHOD v3_policy_mappings, v3_policy_constraints;
 extern X509V3_EXT_METHOD v3_name_constraints, v3_inhibit_anyp, v3_idp;
-extern X509V3_EXT_METHOD v3_addr, v3_asid;
+extern const X509V3_EXT_METHOD v3_addr, v3_asid;
 
 /* This table will be searched using OBJ_bsearch so it *must* kept in
  * order of the ext_nid values.