diff options
author | Richard Levitte <levitte@openssl.org> | 2002-12-20 19:21:35 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2002-12-20 19:21:35 +0100 |
commit | aa18245f7eb0837f1ddd3e057cc1e65bae4f821d (patch) | |
tree | 4275103cb327cff6af2bbad2eb70dfc9555396c0 /crypto/aes/aes.h | |
parent | Fix for "shift count too large" when compiling for hpux-parisc2 and (diff) | |
download | openssl-aa18245f7eb0837f1ddd3e057cc1e65bae4f821d.tar.xz openssl-aa18245f7eb0837f1ddd3e057cc1e65bae4f821d.zip |
Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants.
PR: 411
Diffstat (limited to 'crypto/aes/aes.h')
-rw-r--r-- | crypto/aes/aes.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/crypto/aes/aes.h b/crypto/aes/aes.h index f708f6f34b..8294a41a3a 100644 --- a/crypto/aes/aes.h +++ b/crypto/aes/aes.h @@ -56,8 +56,9 @@ #error AES is disabled. #endif -static const int AES_DECRYPT = 0; -static const int AES_ENCRYPT = 1; +#define AES_ENCRYPT 1 +#define AES_DECRYPT 0 + /* Because array size can't be a const in C, the following two are macros. Both sizes are in bytes. */ #define AES_MAXNR 14 |