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/idea/idea_local.h | |
| 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/idea/idea_local.h')
| -rw-r--r-- | src/lib/libcrypto/idea/idea_local.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lib/libcrypto/idea/idea_local.h b/src/lib/libcrypto/idea/idea_local.h index c7fd3271a7..c0a592ab1c 100644 --- a/src/lib/libcrypto/idea/idea_local.h +++ b/src/lib/libcrypto/idea/idea_local.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: idea_local.h,v 1.2 2023/07/07 12:51:58 beck Exp $ */ | 1 | /* $OpenBSD: idea_local.h,v 1.3 2025/11/26 10:19:57 tb Exp $ */ |
| 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
| 3 | * All rights reserved. | 3 | * All rights reserved. |
| 4 | * | 4 | * |
| @@ -56,6 +56,9 @@ | |||
| 56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
| 57 | */ | 57 | */ |
| 58 | 58 | ||
| 59 | #ifndef HEADER_IDEA_LOCAL_H | ||
| 60 | #define HEADER_IDEA_LOCAL_H | ||
| 61 | |||
| 59 | /* The new form of this macro (check if the a*b == 0) was suggested by | 62 | /* The new form of this macro (check if the a*b == 0) was suggested by |
| 60 | * Colin Plumb <colin@nyx10.cs.du.edu> */ | 63 | * Colin Plumb <colin@nyx10.cs.du.edu> */ |
| 61 | /* Removal of the inner if from from Wei Dai 24/4/96 */ | 64 | /* Removal of the inner if from from Wei Dai 24/4/96 */ |
| @@ -147,3 +150,5 @@ else \ | |||
| 147 | ul=x2^t0; /* do the swap to x3 */ \ | 150 | ul=x2^t0; /* do the swap to x3 */ \ |
| 148 | x2=x3^t1; \ | 151 | x2=x3^t1; \ |
| 149 | x3=ul; | 152 | x3=ul; |
| 153 | |||
| 154 | #endif /* HEADER_IDEA_LOCAL_H */ | ||
