Commit 0850f605 authored by 0xa's avatar 0xa
Browse files

Use EVP_bf_cfb64 instead of EVP_bf_cfb

parent 00816653
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1447,7 +1447,7 @@ extern {
    pub fn EVP_aes_256_cfb8() -> *const EVP_CIPHER;
    pub fn EVP_bf_cbc() -> *const EVP_CIPHER;
    pub fn EVP_bf_ecb() -> *const EVP_CIPHER;
    pub fn EVP_bf_cfb() -> *const EVP_CIPHER;
    pub fn EVP_bf_cfb64() -> *const EVP_CIPHER;
    pub fn EVP_bf_ofb() -> *const EVP_CIPHER;
    pub fn EVP_rc4() -> *const EVP_CIPHER;

+2 −2
Original line number Diff line number Diff line
@@ -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 {