diff options
Diffstat (limited to 'src/lib/libcrypto/des/des.h')
-rw-r--r-- | src/lib/libcrypto/des/des.h | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/lib/libcrypto/des/des.h b/src/lib/libcrypto/des/des.h index 2d957a192c..ad7a418c01 100644 --- a/src/lib/libcrypto/des/des.h +++ b/src/lib/libcrypto/des/des.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: des.h,v 1.23 2025/01/25 17:59:44 tb Exp $ */ | 1 | /* $OpenBSD: des.h,v 1.26 2025/06/09 17:49:45 tb Exp $ */ |
2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -56,11 +56,20 @@ | |||
56 | * [including the GNU Public Licence.] | 56 | * [including the GNU Public Licence.] |
57 | */ | 57 | */ |
58 | 58 | ||
59 | #ifndef HEADER_NEW_DES_H | 59 | #ifndef HEADER_DES_H |
60 | #define HEADER_NEW_DES_H | 60 | #define HEADER_DES_H |
61 | 61 | ||
62 | #include <openssl/opensslconf.h> | 62 | #include <openssl/opensslconf.h> |
63 | 63 | ||
64 | #ifndef DES_LONG | ||
65 | /* XXX - typedef to unsigned int everywhere. */ | ||
66 | #ifdef __i386__ | ||
67 | #define DES_LONG unsigned long | ||
68 | #else | ||
69 | #define DES_LONG unsigned int | ||
70 | #endif | ||
71 | #endif | ||
72 | |||
64 | #ifdef __cplusplus | 73 | #ifdef __cplusplus |
65 | extern "C" { | 74 | extern "C" { |
66 | #endif | 75 | #endif |