diff options
| author | tb <> | 2025-11-26 10:19:57 +0000 |
|---|---|---|
| committer | tb <> | 2025-11-26 10:19:57 +0000 |
| commit | 4879f73ba340a5a6a1e4b5812f046c92cf362d95 (patch) | |
| tree | f4e49dade531b065882e4b3f1a67e3ecb0647b36 /src/lib/libcrypto/asn1 | |
| parent | c1cd9b31174d2c148f5a1dedde49f456a97398d4 (diff) | |
| download | openbsd-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/asn1')
| -rw-r--r-- | src/lib/libcrypto/asn1/asn1_local.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/asn1/asn1_local.h b/src/lib/libcrypto/asn1/asn1_local.h index 19de978772..d61cfaa7b9 100644 --- a/src/lib/libcrypto/asn1/asn1_local.h +++ b/src/lib/libcrypto/asn1/asn1_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: asn1_local.h,v 1.10 2024/03/02 09:10:42 tb Exp $ */ | 1 | /* $OpenBSD: asn1_local.h,v 1.11 2025/11/26 10:19:57 tb 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 2006. | 3 | * project 2006. |
| 4 | */ | 4 | */ |
| @@ -56,6 +56,9 @@ | |||
| 56 | * | 56 | * |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #ifndef HEADER_ASN1_LOCAL_H | ||
| 60 | #define HEADER_ASN1_LOCAL_H | ||
| 61 | |||
| 59 | #include "bytestring.h" | 62 | #include "bytestring.h" |
| 60 | 63 | ||
| 61 | __BEGIN_HIDDEN_DECLS | 64 | __BEGIN_HIDDEN_DECLS |
| @@ -191,3 +194,5 @@ int ASN1_time_parse(const char *_bytes, size_t _len, struct tm *_tm, int _mode); | |||
| 191 | int ASN1_time_tm_cmp(struct tm *_tm1, struct tm *_tm2); | 194 | int ASN1_time_tm_cmp(struct tm *_tm1, struct tm *_tm2); |
| 192 | 195 | ||
| 193 | __END_HIDDEN_DECLS | 196 | __END_HIDDEN_DECLS |
| 197 | |||
| 198 | #endif /* HEADER_ASN1_LOCAL_H */ | ||
