Add the CBC flag for cbc ciphers
authorRichard Levitte <levitte@openssl.org>
Thu, 1 Aug 2002 19:33:08 +0000 (19:33 +0000)
committerRichard Levitte <levitte@openssl.org>
Thu, 1 Aug 2002 19:33:08 +0000 (19:33 +0000)
demos/engines/rsaref/rsaref.c

index e23f64c01e3e88068d0e321218e4197fa199f3dc..f092acbf3f291d25ae8bb7f43fe324a295fa345d 100644 (file)
@@ -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,