From 0850f605b1fcb686bae341a4763d072af4c67e50 Mon Sep 17 00:00:00 2001 From: 0xa Date: Fri, 9 Dec 2016 18:42:10 +0000 Subject: Use EVP_bf_cfb64 instead of EVP_bf_cfb --- openssl/src/symm.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'openssl/src') diff --git a/openssl/src/symm.rs b/openssl/src/symm.rs index 2704bae7..1a46411d 100644 --- a/openssl/src/symm.rs +++ b/openssl/src/symm.rs @@ -88,8 +88,8 @@ impl Cipher { unsafe { Cipher(ffi::EVP_bf_ecb()) } } - pub fn bf_cfb() -> Cipher { - unsafe { Cipher(ffi::EVP_bf_cfb()) } + pub fn bf_cfb64() -> Cipher { + unsafe { Cipher(ffi::EVP_bf_cfb64()) } } pub fn bf_ofb() -> Cipher { -- cgit v1.2.3