From dc2ab9f4fa9c927b3b3a56c8a4041d4bd2e19043 Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 1 Aug 2002 19:33:08 +0000 Subject: [PATCH] Add the CBC flag for cbc ciphers --- demos/engines/rsaref/rsaref.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/demos/engines/rsaref/rsaref.c b/demos/engines/rsaref/rsaref.c index e23f64c01..f092acbf3 100644 --- a/demos/engines/rsaref/rsaref.c +++ b/demos/engines/rsaref/rsaref.c @@ -116,7 +116,7 @@ static const EVP_CIPHER cipher_des_cbc = { NID_des_cbc, 8, 8, 8, - 0, + 0 | EVP_CIPH_CBC_MODE, cipher_des_cbc_init, cipher_des_cbc_code, cipher_des_cbc_clean, @@ -131,7 +131,7 @@ static const EVP_CIPHER cipher_des_ede3_cbc = { NID_des_ede3_cbc, 8, 24, 8, - 0, + 0 | EVP_CIPH_CBC_MODE, cipher_des_ede3_cbc_init, cipher_des_ede3_cbc_code, cipher_des_ede3_cbc_clean, @@ -146,7 +146,7 @@ static const EVP_CIPHER cipher_desx_cbc = { NID_desx_cbc, 8, 24, 8, - 0, + 0 | EVP_CIPH_CBC_MODE, cipher_desx_cbc_init, cipher_desx_cbc_code, cipher_desx_cbc_clean,