summaryrefslogtreecommitdiffstats
path: root/include/internal/constant_time_locl.h
diff options
context:
space:
mode:
authorNicola Tuveri <nic.tuv@gmail.com>2018-06-21 23:24:34 +0300
committerDr. Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com>2018-06-22 12:24:59 +0200
commit34446a852457600fc1297edce81e14da4e287191 (patch)
tree6f2e4fe20faebe8e947cb9b28b9040f1671a3fd9 /include/internal/constant_time_locl.h
parent07e4dc341fa73e8521b7964a1eebdd811c96a160 (diff)
Remove __cplusplus preamble from internal headers
These headers are internal and never exposed to a cpp compiler, hence no need for the preamble. Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Paul Dale <paul.dale@oracle.com> Reviewed-by: Matthias St. Pierre <Matthias.St.Pierre@ncp-e.com> (Merged from https://github.com/openssl/openssl/pull/6554)
Diffstat (limited to 'include/internal/constant_time_locl.h')
-rw-r--r--include/internal/constant_time_locl.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/internal/constant_time_locl.h b/include/internal/constant_time_locl.h
index d23f515c4f..82ff74652e 100644
--- a/include/internal/constant_time_locl.h
+++ b/include/internal/constant_time_locl.h
@@ -14,10 +14,6 @@
# include <string.h>
# include <openssl/e_os2.h> /* For 'ossl_inline' */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
/*-
* The boolean methods return a bitmask of all ones (0xff...f) for true
* and 0 for false. This is useful for choosing a value based on the result
@@ -328,8 +324,4 @@ static ossl_inline void constant_time_lookup(void *out,
}
}
-#ifdef __cplusplus
-}
-#endif
-
#endif /* HEADER_CONSTANT_TIME_LOCL_H */