summaryrefslogtreecommitdiffstats
path: root/crypto/include/internal/aria.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 /crypto/include/internal/aria.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 'crypto/include/internal/aria.h')
-rw-r--r--crypto/include/internal/aria.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/crypto/include/internal/aria.h b/crypto/include/internal/aria.h
index 073827185a..e402b8eec8 100644
--- a/crypto/include/internal/aria.h
+++ b/crypto/include/internal/aria.h
@@ -25,10 +25,6 @@
# define ARIA_BLOCK_SIZE 16 /* Size of each encryption/decryption block */
# define ARIA_MAX_KEYS 17 /* Number of keys needed in the worst case */
-# ifdef __cplusplus
-extern "C" {
-# endif
-
typedef union {
unsigned char c[ARIA_BLOCK_SIZE];
unsigned int u[ARIA_BLOCK_SIZE / sizeof(unsigned int)];
@@ -51,8 +47,4 @@ int aria_set_decrypt_key(const unsigned char *userKey, const int bits,
void aria_encrypt(const unsigned char *in, unsigned char *out,
const ARIA_KEY *key);
-# ifdef __cplusplus
-}
-# endif
-
#endif