diff options
| author | miod <> | 2014-04-22 22:21:32 +0000 |
|---|---|---|
| committer | miod <> | 2014-04-22 22:21:32 +0000 |
| commit | c68ded0ee544368d48ddb0b6932099d55eaeca9a (patch) | |
| tree | b9676be891b591dc3ce93b487edb0a6b610520c6 /src/lib/libcrypto/aes/aes.h | |
| parent | b002b4227b7cd79c125d226d0039cae94c62609d (diff) | |
| download | openbsd-c68ded0ee544368d48ddb0b6932099d55eaeca9a.tar.gz openbsd-c68ded0ee544368d48ddb0b6932099d55eaeca9a.tar.bz2 openbsd-c68ded0ee544368d48ddb0b6932099d55eaeca9a.zip | |
unifdef -UAES_LONG for we do not intend to run on platforms where int is smaller
than 32 bits.
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/aes/aes.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/lib/libcrypto/aes/aes.h b/src/lib/libcrypto/aes/aes.h index 4d477bdf19..d05f803494 100644 --- a/src/lib/libcrypto/aes/aes.h +++ b/src/lib/libcrypto/aes/aes.h | |||
| @@ -74,11 +74,7 @@ extern "C" { | |||
| 74 | 74 | ||
| 75 | /* This should be a hidden type, but EVP requires that the size be known */ | 75 | /* This should be a hidden type, but EVP requires that the size be known */ |
| 76 | struct aes_key_st { | 76 | struct aes_key_st { |
| 77 | #ifdef AES_LONG | ||
| 78 | unsigned long rd_key[4 *(AES_MAXNR + 1)]; | ||
| 79 | #else | ||
| 80 | unsigned int rd_key[4 *(AES_MAXNR + 1)]; | 77 | unsigned int rd_key[4 *(AES_MAXNR + 1)]; |
| 81 | #endif | ||
| 82 | int rounds; | 78 | int rounds; |
| 83 | }; | 79 | }; |
| 84 | typedef struct aes_key_st AES_KEY; | 80 | typedef struct aes_key_st AES_KEY; |
