From 6449a149f850e9e1207233f3ca642d9342fbfbaf Mon Sep 17 00:00:00 2001 From: Frank de Brabander Date: Thu, 16 Feb 2012 13:51:04 +0100 Subject: Fixed wrong return type of cipher_kt_mode The cipher_kt_mode uses bool as return type, this should be int. On some platforms like OS X, any returned value larger than one will be converted to 1. Signed-off-by: Frank de Brabander Acked-by: Adriaan de Jong Signed-off-by: David Sommerseth --- crypto_openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crypto_openssl.c') diff --git a/crypto_openssl.c b/crypto_openssl.c index db6b78e..0a41b39 100644 --- a/crypto_openssl.c +++ b/crypto_openssl.c @@ -555,7 +555,7 @@ cipher_kt_block_size (const EVP_CIPHER *cipher_kt) return EVP_CIPHER_block_size (cipher_kt); } -bool +int cipher_kt_mode (const EVP_CIPHER *cipher_kt) { ASSERT(NULL != cipher_kt); -- cgit