diff options
Diffstat (limited to 'src/lib/libcrypto/constant_time_locl.h')
-rw-r--r-- | src/lib/libcrypto/constant_time_locl.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/lib/libcrypto/constant_time_locl.h b/src/lib/libcrypto/constant_time_locl.h index f8f0eae7ea..2cabfb460e 100644 --- a/src/lib/libcrypto/constant_time_locl.h +++ b/src/lib/libcrypto/constant_time_locl.h | |||
@@ -47,9 +47,7 @@ | |||
47 | #ifndef HEADER_CONSTANT_TIME_LOCL_H | 47 | #ifndef HEADER_CONSTANT_TIME_LOCL_H |
48 | # define HEADER_CONSTANT_TIME_LOCL_H | 48 | # define HEADER_CONSTANT_TIME_LOCL_H |
49 | 49 | ||
50 | #ifdef __cplusplus | 50 | __BEGIN_HIDDEN_DECLS |
51 | extern "C" { | ||
52 | #endif | ||
53 | 51 | ||
54 | /*- | 52 | /*- |
55 | * The boolean methods return a bitmask of all ones (0xff...f) for true | 53 | * The boolean methods return a bitmask of all ones (0xff...f) for true |
@@ -202,8 +200,6 @@ static inline int constant_time_select_int(unsigned int mask, int a, int b) | |||
202 | return (int)(constant_time_select(mask, (unsigned)(a), (unsigned)(b))); | 200 | return (int)(constant_time_select(mask, (unsigned)(a), (unsigned)(b))); |
203 | } | 201 | } |
204 | 202 | ||
205 | #ifdef __cplusplus | 203 | __END_HIDDEN_DECLS |
206 | } | ||
207 | #endif | ||
208 | 204 | ||
209 | #endif /* HEADER_CONSTANT_TIME_LOCL_H */ | 205 | #endif /* HEADER_CONSTANT_TIME_LOCL_H */ |