diff options
Diffstat (limited to 'src/lib/libcrypto/des/destest.c')
-rw-r--r-- | src/lib/libcrypto/des/destest.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/libcrypto/des/destest.c b/src/lib/libcrypto/des/destest.c index 687c00c792..58e8c35dcb 100644 --- a/src/lib/libcrypto/des/destest.c +++ b/src/lib/libcrypto/des/destest.c | |||
@@ -84,7 +84,9 @@ int main(int argc, char *argv[]) | |||
84 | #else | 84 | #else |
85 | #include <openssl/des.h> | 85 | #include <openssl/des.h> |
86 | 86 | ||
87 | #if defined(PERL5) || defined(__FreeBSD__) || defined(NeXT) | ||
87 | #define crypt(c,s) (des_crypt((c),(s))) | 88 | #define crypt(c,s) (des_crypt((c),(s))) |
89 | #endif | ||
88 | 90 | ||
89 | /* tisk tisk - the test keys don't all have odd parity :-( */ | 91 | /* tisk tisk - the test keys don't all have odd parity :-( */ |
90 | /* test data */ | 92 | /* test data */ |
@@ -320,11 +322,7 @@ static unsigned char ofb_cipher[24]= | |||
320 | 0x3d,0x6d,0x5b,0xe3,0x25,0x5a,0xf8,0xc3 | 322 | 0x3d,0x6d,0x5b,0xe3,0x25,0x5a,0xf8,0xc3 |
321 | }; | 323 | }; |
322 | 324 | ||
323 | #if 0 | ||
324 | static DES_LONG cbc_cksum_ret=0xB462FEF7L; | 325 | static DES_LONG cbc_cksum_ret=0xB462FEF7L; |
325 | #else | ||
326 | static DES_LONG cbc_cksum_ret=0xF7FE62B4L; | ||
327 | #endif | ||
328 | static unsigned char cbc_cksum_data[8]={0x1D,0x26,0x93,0x97,0xf7,0xfe,0x62,0xb4}; | 326 | static unsigned char cbc_cksum_data[8]={0x1D,0x26,0x93,0x97,0xf7,0xfe,0x62,0xb4}; |
329 | 327 | ||
330 | static char *pt(unsigned char *p); | 328 | static char *pt(unsigned char *p); |