From 662de08c72cfea4b3d7d34030e55fa36c71679f4 Mon Sep 17 00:00:00 2001 From: tb <> Date: Sat, 31 Aug 2024 10:19:17 +0000 Subject: const correct X509_LOOKUP_METHOD With this another family of global tables becomes const as it should always have been. ok beck jsing --- src/lib/libcrypto/x509/x509_local.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/libcrypto/x509/x509_local.h') 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 @@ -/* $OpenBSD: x509_local.h,v 1.30 2024/08/31 10:14:17 tb Exp $ */ +/* $OpenBSD: x509_local.h,v 1.31 2024/08/31 10:19:17 tb Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 2013. */ @@ -318,7 +318,7 @@ struct x509_store_st { /* This is the functions plus an instance of the local variables. */ struct x509_lookup_st { - X509_LOOKUP_METHOD *method; /* the functions */ + const X509_LOOKUP_METHOD *method; /* the functions */ void *method_data; /* method data */ X509_STORE *store_ctx; /* who owns us */ -- cgit v1.2.3-55-g6feb