diff options
| author | miod <> | 2014-04-16 04:38:11 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-16 04:38:11 +0000 |
| commit | b8a4f14a0fc6d4be2de52a124e247319774006f5 (patch) | |
| tree | 2b99adc12b8d0370fd553783fe3359d8d70330f1 /src/lib/libcrypto/bf | |
| parent | 346d29bda3f3a19f49a5a207d4fa958aa9c8efd1 (diff) | |
| download | openbsd-b8a4f14a0fc6d4be2de52a124e247319774006f5.tar.gz openbsd-b8a4f14a0fc6d4be2de52a124e247319774006f5.tar.bz2 openbsd-b8a4f14a0fc6d4be2de52a124e247319774006f5.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 |
