diff options
author | Bodo Möller <bodo@openssl.org> | 2002-01-04 14:04:45 +0100 |
---|---|---|
committer | Bodo Möller <bodo@openssl.org> | 2002-01-04 14:04:45 +0100 |
commit | e5d6528a1223a7f94fe399881451589d6a5ad0bb (patch) | |
tree | a9cef102555980ef310c1eeddb55c6e4a744cbd0 /crypto | |
parent | Constify. (diff) | |
download | openssl-e5d6528a1223a7f94fe399881451589d6a5ad0bb.tar.xz openssl-e5d6528a1223a7f94fe399881451589d6a5ad0bb.zip |
fix EVP_CIPHER_mode macro
Submitted by: "Dan S. Camper" <dan@bti.net>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/evp/evp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h index 8d86d85f8d..beb2c9eb44 100644 --- a/crypto/evp/evp.h +++ b/crypto/evp/evp.h @@ -409,7 +409,7 @@ typedef int (EVP_PBE_KEYGEN)(EVP_CIPHER_CTX *ctx, const char *pass, int passlen, #define EVP_CIPHER_key_length(e) ((e)->key_len) #define EVP_CIPHER_iv_length(e) ((e)->iv_len) #define EVP_CIPHER_flags(e) ((e)->flags) -#define EVP_CIPHER_mode(e) ((e)->flags) & EVP_CIPH_MODE) +#define EVP_CIPHER_mode(e) (((e)->flags) & EVP_CIPH_MODE) #define EVP_CIPHER_CTX_cipher(e) ((e)->cipher) #define EVP_CIPHER_CTX_nid(e) ((e)->cipher->nid) |