From 095767444d291c0674b124252ae2b4e97e823d21 Mon Sep 17 00:00:00 2001 From: schwarze <> Date: Tue, 24 Dec 2024 09:14:33 +0000 Subject: Internal linkage for one constant struct where that was accidentally forgotten in rev. 1.3 on July 13 this year. No library bump and no ABI change because libcrypto.so.55.0 did not export the symbol because it wasn't in Symbols.list. Found in a partial code audit focusing on X509V3_EXT_METHOD objects. --- src/lib/libcrypto/x509/x509_ocsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/lib/libcrypto/x509/x509_ocsp.c b/src/lib/libcrypto/x509/x509_ocsp.c index 11d1a1c9c3..6531b4c420 100644 --- a/src/lib/libcrypto/x509/x509_ocsp.c +++ b/src/lib/libcrypto/x509/x509_ocsp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: x509_ocsp.c,v 1.3 2024/07/13 15:08:58 tb Exp $ */ +/* $OpenBSD: x509_ocsp.c,v 1.4 2024/12/24 09:14:33 schwarze Exp $ */ /* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL * project 1999. */ @@ -118,7 +118,7 @@ x509v3_ext_method_id_pkix_OCSP_CrlID(void) return &x509v3_ext_id_pkix_OCSP_CrlID; } -const X509V3_EXT_METHOD x509v3_ext_id_pkix_OCSP_archiveCutoff = { +static const X509V3_EXT_METHOD x509v3_ext_id_pkix_OCSP_archiveCutoff = { .ext_nid = NID_id_pkix_OCSP_archiveCutoff, .ext_flags = 0, .it = &ASN1_GENERALIZEDTIME_it, -- cgit v1.2.3-55-g6feb