diff options
| author | 0xa <[email protected]> | 2016-12-09 18:42:10 +0000 |
|---|---|---|
| committer | 0xa <[email protected]> | 2016-12-09 18:42:10 +0000 |
| commit | 0850f605b1fcb686bae341a4763d072af4c67e50 (patch) | |
| tree | c4160df370bada1915e2f76f02520f03031758a1 /openssl/src | |
| parent | Add Blowfish support (diff) | |
| download | rust-openssl-0850f605b1fcb686bae341a4763d072af4c67e50.tar.xz rust-openssl-0850f605b1fcb686bae341a4763d072af4c67e50.zip | |
Use EVP_bf_cfb64 instead of EVP_bf_cfb
Diffstat (limited to 'openssl/src')
| -rw-r--r-- | openssl/src/symm.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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 { |