summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ct
diff options
context:
space:
mode:
authortb <>2025-11-26 10:19:57 +0000
committertb <>2025-11-26 10:19:57 +0000
commit4879f73ba340a5a6a1e4b5812f046c92cf362d95 (patch)
treef4e49dade531b065882e4b3f1a67e3ecb0647b36 /src/lib/libcrypto/ct
parentc1cd9b31174d2c148f5a1dedde49f456a97398d4 (diff)
downloadopenbsd-4879f73ba340a5a6a1e4b5812f046c92cf362d95.tar.gz
openbsd-4879f73ba340a5a6a1e4b5812f046c92cf362d95.tar.bz2
openbsd-4879f73ba340a5a6a1e4b5812f046c92cf362d95.zip
libcrypto: add header guards to *_local.h
An upcoming change requires the inclusion of asn1_local.h in x509_local.h which doesn't work due to missing header guards. Add guards to all local headers that don't have them, although reacharounds and multiple inclusions are unlikely to occur for most of those. ok jsing
Diffstat (limited to 'src/lib/libcrypto/ct')
-rw-r--r--src/lib/libcrypto/ct/ct_local.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/ct/ct_local.h b/src/lib/libcrypto/ct/ct_local.h
index cd19ed096a..152ab9d8c4 100644
--- a/src/lib/libcrypto/ct/ct_local.h
+++ b/src/lib/libcrypto/ct/ct_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: ct_local.h,v 1.8 2021/12/20 17:19:19 jsing Exp $ */ 1/* $OpenBSD: ct_local.h,v 1.9 2025/11/26 10:19:57 tb Exp $ */
2/* 2/*
3 * Written by Rob Percival (robpercival@google.com) for the OpenSSL project. 3 * Written by Rob Percival (robpercival@google.com) for the OpenSSL project.
4 */ 4 */
@@ -51,6 +51,9 @@
51 * ==================================================================== 51 * ====================================================================
52 */ 52 */
53 53
54#ifndef HEADER_CT_LOCAL_H
55#define HEADER_CT_LOCAL_H
56
54#include <stddef.h> 57#include <stddef.h>
55 58
56#include <openssl/ct.h> 59#include <openssl/ct.h>
@@ -258,3 +261,5 @@ int o2i_SCT_signature(SCT *sct, CBS *cbs);
258 * Handlers for Certificate Transparency X509v3/OCSP extensions 261 * Handlers for Certificate Transparency X509v3/OCSP extensions
259 */ 262 */
260extern const X509V3_EXT_METHOD v3_ct_scts[3]; 263extern const X509V3_EXT_METHOD v3_ct_scts[3];
264
265#endif /* HEADER_CT_LOCAL_H */