summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509v3.h
diff options
context:
space:
mode:
authortb <>2024-08-31 10:23:13 +0000
committertb <>2024-08-31 10:23:13 +0000
commitdf13e5b090fdd7526e1f2c4242ff8deb5a98c783 (patch)
tree75b223b289d57ee7a5912ad870842ef7c59887ce /src/lib/libcrypto/x509/x509v3.h
parent662de08c72cfea4b3d7d34030e55fa36c71679f4 (diff)
downloadopenbsd-df13e5b090fdd7526e1f2c4242ff8deb5a98c783.tar.gz
openbsd-df13e5b090fdd7526e1f2c4242ff8deb5a98c783.tar.bz2
openbsd-df13e5b090fdd7526e1f2c4242ff8deb5a98c783.zip
Move BIT_STRING_BITNAME tables to const
Another bunch of const correctness fixes for global tables. These are used to map ns cert types, key usage types and CRL reasons to strings and vice versa. By the looks of it, nobody ever figured out how to use this (need I mention that it's convoluted?). ok beck jsing
Diffstat (limited to 'src/lib/libcrypto/x509/x509v3.h')
-rw-r--r--src/lib/libcrypto/x509/x509v3.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509v3.h b/src/lib/libcrypto/x509/x509v3.h
index c59153496c..166ac66a28 100644
--- a/src/lib/libcrypto/x509/x509v3.h
+++ b/src/lib/libcrypto/x509/x509v3.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509v3.h,v 1.34 2024/08/31 10:06:39 tb Exp $ */ 1/* $OpenBSD: x509v3.h,v 1.35 2024/08/31 10:23:13 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 1999. 3 * project 1999.
4 */ 4 */
@@ -117,7 +117,7 @@ struct v3_ext_method {
117 X509V3_EXT_I2R i2r; 117 X509V3_EXT_I2R i2r;
118 X509V3_EXT_R2I r2i; 118 X509V3_EXT_R2I r2i;
119 119
120 void *usr_data; /* Any extension specific data */ 120 const void *usr_data; /* Any extension specific data */
121}; 121};
122 122
123struct v3_ext_ctx { 123struct v3_ext_ctx {