From 0b3055fdade4fa77970810036b4eaeac5761daec Mon Sep 17 00:00:00 2001 From: Nicolas Williams Date: Tue, 12 Apr 2016 01:51:21 -0500 Subject: [PATCH] hcrypto-pkcs11: rc2_cbc is variable length --- lib/hcrypto/evp-pkcs11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/hcrypto/evp-pkcs11.c b/lib/hcrypto/evp-pkcs11.c index 46f37613e..75bfee6a1 100644 --- a/lib/hcrypto/evp-pkcs11.c +++ b/lib/hcrypto/evp-pkcs11.c @@ -654,7 +654,7 @@ PKCS11_CIPHER_ALGORITHM(rc2_cbc, 8, 16, 8, - EVP_CIPH_CBC_MODE) + EVP_CIPH_CBC_MODE | EVP_CIPH_VARIABLE_LENGTH) /** * The RC2-40 cipher type - PKCS#11