summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/modes/modes_local.h
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/modes/modes_local.h
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/modes/modes_local.h')
-rw-r--r--src/lib/libcrypto/modes/modes_local.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/modes/modes_local.h b/src/lib/libcrypto/modes/modes_local.h
index 5c1acfc25f..df699d3e4c 100644
--- a/src/lib/libcrypto/modes/modes_local.h
+++ b/src/lib/libcrypto/modes/modes_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: modes_local.h,v 1.7 2025/07/13 06:01:33 jsing Exp $ */ 1/* $OpenBSD: modes_local.h,v 1.8 2025/11/26 10:19:57 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2010 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2010 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -6,6 +6,9 @@
6 * ==================================================================== 6 * ====================================================================
7 */ 7 */
8 8
9#ifndef HEADER_MODES_LOCAL_H
10#define HEADER_MODES_LOCAL_H
11
9#include <endian.h> 12#include <endian.h>
10 13
11#include <openssl/opensslconf.h> 14#include <openssl/opensslconf.h>
@@ -61,3 +64,5 @@ struct ccm128_context {
61}; 64};
62 65
63__END_HIDDEN_DECLS 66__END_HIDDEN_DECLS
67
68#endif /* HEADER_MODES_LOCAL_H */