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

index e23f64c..f092acb 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,