diff options
Diffstat (limited to 'src/lib/libcrypto/des/des.h')
-rw-r--r-- | src/lib/libcrypto/des/des.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h index ead67986d9..2db9748cb4 100644 --- a/src/lib/libcrypto/des/des.h +++ b/src/lib/libcrypto/des/des.h | |||
@@ -59,10 +59,6 @@ | |||
59 | #ifndef HEADER_DES_H | 59 | #ifndef HEADER_DES_H |
60 | #define HEADER_DES_H | 60 | #define HEADER_DES_H |
61 | 61 | ||
62 | #ifdef __cplusplus | ||
63 | extern "C" { | ||
64 | #endif | ||
65 | |||
66 | #ifdef NO_DES | 62 | #ifdef NO_DES |
67 | #error DES is disabled. | 63 | #error DES is disabled. |
68 | #endif | 64 | #endif |
@@ -71,10 +67,13 @@ extern "C" { | |||
71 | #error <openssl/des.h> replaces <kerberos/des.h>. | 67 | #error <openssl/des.h> replaces <kerberos/des.h>. |
72 | #endif | 68 | #endif |
73 | 69 | ||
74 | #include <stdio.h> | ||
75 | #include <openssl/opensslconf.h> /* DES_LONG */ | 70 | #include <openssl/opensslconf.h> /* DES_LONG */ |
76 | #include <openssl/e_os2.h> /* OPENSSL_EXTERN */ | 71 | #include <openssl/e_os2.h> /* OPENSSL_EXTERN */ |
77 | 72 | ||
73 | #ifdef __cplusplus | ||
74 | extern "C" { | ||
75 | #endif | ||
76 | |||
78 | typedef unsigned char des_cblock[8]; | 77 | typedef unsigned char des_cblock[8]; |
79 | typedef /* const */ unsigned char const_des_cblock[8]; | 78 | typedef /* const */ unsigned char const_des_cblock[8]; |
80 | /* With "const", gcc 2.8.1 on Solaris thinks that des_cblock * | 79 | /* With "const", gcc 2.8.1 on Solaris thinks that des_cblock * |