summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/x509/x509_local.h
diff options
context:
space:
mode:
authortb <>2024-08-31 10:19:17 +0000
committertb <>2024-08-31 10:19:17 +0000
commit662de08c72cfea4b3d7d34030e55fa36c71679f4 (patch)
tree5abbbe9e721e606dcaa1424ace7bee5f6a000a13 /src/lib/libcrypto/x509/x509_local.h
parent99f27f8fcbed150dc32592e175dace35b25a3ebf (diff)
downloadopenbsd-662de08c72cfea4b3d7d34030e55fa36c71679f4.tar.gz
openbsd-662de08c72cfea4b3d7d34030e55fa36c71679f4.tar.bz2
openbsd-662de08c72cfea4b3d7d34030e55fa36c71679f4.zip
const correct X509_LOOKUP_METHOD
With this another family of global tables becomes const as it should always have been. ok beck jsing
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/x509/x509_local.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/x509/x509_local.h b/src/lib/libcrypto/x509/x509_local.h
index a7d7940d43..b3a51ec2e7 100644
--- a/src/lib/libcrypto/x509/x509_local.h
+++ b/src/lib/libcrypto/x509/x509_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: x509_local.h,v 1.30 2024/08/31 10:14:17 tb Exp $ */ 1/* $OpenBSD: x509_local.h,v 1.31 2024/08/31 10:19:17 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 2013. 3 * project 2013.
4 */ 4 */
@@ -318,7 +318,7 @@ struct x509_store_st {
318 318
319/* This is the functions plus an instance of the local variables. */ 319/* This is the functions plus an instance of the local variables. */
320struct x509_lookup_st { 320struct x509_lookup_st {
321 X509_LOOKUP_METHOD *method; /* the functions */ 321 const X509_LOOKUP_METHOD *method; /* the functions */
322 void *method_data; /* method data */ 322 void *method_data; /* method data */
323 323
324 X509_STORE *store_ctx; /* who owns us */ 324 X509_STORE *store_ctx; /* who owns us */