summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschwarze <>2024-12-24 09:14:33 +0000
committerschwarze <>2024-12-24 09:14:33 +0000
commite44dbfef2658bf6a8fe5a0d77dbbaf0fb85da510 (patch)
tree2bf626ebeffa5f3e7a87d3de4c6239fa175048e4
parentf458142e6b7de374ca1e7f4c3e88151db25278cb (diff)
downloadopenbsd-e44dbfef2658bf6a8fe5a0d77dbbaf0fb85da510.tar.gz
openbsd-e44dbfef2658bf6a8fe5a0d77dbbaf0fb85da510.tar.bz2
openbsd-e44dbfef2658bf6a8fe5a0d77dbbaf0fb85da510.zip
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.
-rw-r--r--src/lib/libcrypto/x509/x509_ocsp.c4
1 files changed, 2 insertions, 2 deletions
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 @@
1/* $OpenBSD: x509_ocsp.c,v 1.3 2024/07/13 15:08:58 tb Exp $ */ 1/* $OpenBSD: x509_ocsp.c,v 1.4 2024/12/24 09:14:33 schwarze 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 */
@@ -118,7 +118,7 @@ x509v3_ext_method_id_pkix_OCSP_CrlID(void)
118 return &x509v3_ext_id_pkix_OCSP_CrlID; 118 return &x509v3_ext_id_pkix_OCSP_CrlID;
119} 119}
120 120
121const X509V3_EXT_METHOD x509v3_ext_id_pkix_OCSP_archiveCutoff = { 121static const X509V3_EXT_METHOD x509v3_ext_id_pkix_OCSP_archiveCutoff = {
122 .ext_nid = NID_id_pkix_OCSP_archiveCutoff, 122 .ext_nid = NID_id_pkix_OCSP_archiveCutoff,
123 .ext_flags = 0, 123 .ext_flags = 0,
124 .it = &ASN1_GENERALIZEDTIME_it, 124 .it = &ASN1_GENERALIZEDTIME_it,