summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa/dsa_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/dsa/dsa_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/dsa/dsa_local.h')
-rw-r--r--src/lib/libcrypto/dsa/dsa_local.h7
1 files changed, 6 insertions, 1 deletions
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 @@
1/* $OpenBSD: dsa_local.h,v 1.5 2024/11/29 07:42:35 tb Exp $ */ 1/* $OpenBSD: dsa_local.h,v 1.6 2025/11/26 10:19:57 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright (c) 2007 The OpenSSL Project. All rights reserved. 3 * Copyright (c) 2007 The OpenSSL Project. All rights reserved.
4 * 4 *
@@ -53,6 +53,9 @@
53 * 53 *
54 */ 54 */
55 55
56#ifndef HEADER_DSA_LOCAL_H
57#define HEADER_DSA_LOCAL_H
58
56#include <openssl/dsa.h> 59#include <openssl/dsa.h>
57 60
58__BEGIN_HIDDEN_DECLS 61__BEGIN_HIDDEN_DECLS
@@ -102,3 +105,5 @@ int dsa_builtin_paramgen(DSA *ret, size_t bits, size_t qbits,
102int dsa_check_key(const DSA *dsa); 105int dsa_check_key(const DSA *dsa);
103 106
104__END_HIDDEN_DECLS 107__END_HIDDEN_DECLS
108
109#endif /* HEADER_DSA_LOCAL_H */