From 4879f73ba340a5a6a1e4b5812f046c92cf362d95 Mon Sep 17 00:00:00 2001 From: tb <> Date: Wed, 26 Nov 2025 10:19:57 +0000 Subject: 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 --- src/lib/libcrypto/dsa/dsa_local.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/lib/libcrypto/dsa') diff --git a/src/lib/libcrypto/dsa/dsa_local.h b/src/lib/libcrypto/dsa/dsa_local.h index fc77c09fcb..3d32e5e547 100644 --- a/src/lib/libcrypto/dsa/dsa_local.h +++ b/src/lib/libcrypto/dsa/dsa_local.h @@ -1,4 +1,4 @@ -/* $OpenBSD: dsa_local.h,v 1.5 2024/11/29 07:42:35 tb Exp $ */ +/* $OpenBSD: dsa_local.h,v 1.6 2025/11/26 10:19:57 tb Exp $ */ /* ==================================================================== * Copyright (c) 2007 The OpenSSL Project. All rights reserved. * @@ -53,6 +53,9 @@ * */ +#ifndef HEADER_DSA_LOCAL_H +#define HEADER_DSA_LOCAL_H + #include __BEGIN_HIDDEN_DECLS @@ -102,3 +105,5 @@ int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits, int dsa_check_key(const DSA *dsa); __END_HIDDEN_DECLS + +#endif /* HEADER_DSA_LOCAL_H */ -- cgit v1.2.3-55-g6feb