From 34446a852457600fc1297edce81e14da4e287191 Mon Sep 17 00:00:00 2001 From: Nicola Tuveri Date: Thu, 21 Jun 2018 23:24:34 +0300 Subject: 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 Reviewed-by: Rich Salz Reviewed-by: Paul Dale Reviewed-by: Matthias St. Pierre (Merged from https://github.com/openssl/openssl/pull/6554) --- crypto/include/internal/aria.h | 8 -------- 1 file changed, 8 deletions(-) (limited to 'crypto/include/internal/aria.h') 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 -- cgit v1.2.3