diff options
author | miod <> | 2014-04-16 04:38:11 +0000 |
---|---|---|
committer | miod <> | 2014-04-16 04:38:11 +0000 |
commit | 5b16e4cac0c78b070c3386c568c7153987b478f6 (patch) | |
tree | 2b99adc12b8d0370fd553783fe3359d8d70330f1 /src/lib/libcrypto/bf | |
parent | ee3114a29a78969f6101144226487c5e6a646188 (diff) | |
download | openbsd-5b16e4cac0c78b070c3386c568c7153987b478f6.tar.gz openbsd-5b16e4cac0c78b070c3386c568c7153987b478f6.tar.bz2 openbsd-5b16e4cac0c78b070c3386c568c7153987b478f6.zip |
Remove _CRAY references. Note that this pleads for the use of <stdint.h>
fixed-width types instead of choosing int or long depending upon what we
think the architecture support.
Diffstat (limited to 'src/lib/libcrypto/bf')
-rw-r--r-- | src/lib/libcrypto/bf/blowfish.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/libcrypto/bf/blowfish.h b/src/lib/libcrypto/bf/blowfish.h index 65685f478c..289c55b3af 100644 --- a/src/lib/libcrypto/bf/blowfish.h +++ b/src/lib/libcrypto/bf/blowfish.h | |||
@@ -81,16 +81,9 @@ extern "C" { | |||
81 | 81 | ||
82 | #if defined(__LP32__) | 82 | #if defined(__LP32__) |
83 | #define BF_LONG unsigned long | 83 | #define BF_LONG unsigned long |
84 | #elif defined(OPENSSL_SYS_CRAY) || defined(__ILP64__) | 84 | #elif defined(__ILP64__) |
85 | #define BF_LONG unsigned long | 85 | #define BF_LONG unsigned long |
86 | #define BF_LONG_LOG2 3 | 86 | #define BF_LONG_LOG2 3 |
87 | /* | ||
88 | * _CRAY note. I could declare short, but I have no idea what impact | ||
89 | * does it have on performance on none-T3E machines. I could declare | ||
90 | * int, but at least on C90 sizeof(int) can be chosen at compile time. | ||
91 | * So I've chosen long... | ||
92 | * <appro@fy.chalmers.se> | ||
93 | */ | ||
94 | #else | 87 | #else |
95 | #define BF_LONG unsigned int | 88 | #define BF_LONG unsigned int |
96 | #endif | 89 | #endif |