From: Richard Levitte Date: Fri, 20 Dec 2002 18:21:35 +0000 (+0000) Subject: Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants. X-Git-Tag: OpenSSL_0_9_7a~86^2~69 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aa18245f7eb0837f1ddd3e057cc1e65bae4f821d;p=oweals%2Fopenssl.git Make AES_ENCRYPT and AES_DECRYPT macros instead of static constants. PR: 411 --- 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