diff options
Diffstat (limited to 'crypto/des/des.h')
-rw-r--r-- | crypto/des/des.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crypto/des/des.h b/crypto/des/des.h index ead67986d9..cf536e6428 100644 --- a/crypto/des/des.h +++ b/crypto/des/des.h @@ -59,10 +59,6 @@ #ifndef HEADER_DES_H #define HEADER_DES_H -#ifdef __cplusplus -extern "C" { -#endif - #ifdef NO_DES #error DES is disabled. #endif @@ -75,6 +71,10 @@ extern "C" { #include <openssl/opensslconf.h> /* DES_LONG */ #include <openssl/e_os2.h> /* OPENSSL_EXTERN */ +#ifdef __cplusplus +extern "C" { +#endif + typedef unsigned char des_cblock[8]; typedef /* const */ unsigned char const_des_cblock[8]; /* With "const", gcc 2.8.1 on Solaris thinks that des_cblock * |