Skip to content

Commit 0743e6a

Browse files
authored
Expose two ciphers on boringssl that are available there
1 parent 1ea720c commit 0743e6a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

openssl/src/cipher.rs

-2
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,6 @@ impl Cipher {
171171
unsafe { CipherRef::from_ptr(ffi::EVP_aes_256_xts() as *mut _) }
172172
}
173173

174-
#[cfg(not(boringssl))]
175174
pub fn aes_128_ctr() -> &'static CipherRef {
176175
unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ctr() as *mut _) }
177176
}
@@ -200,7 +199,6 @@ impl Cipher {
200199
unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ccm() as *mut _) }
201200
}
202201

203-
#[cfg(not(boringssl))]
204202
pub fn aes_128_ofb() -> &'static CipherRef {
205203
unsafe { CipherRef::from_ptr(ffi::EVP_aes_128_ofb() as *mut _) }
206204
}

0 commit comments

Comments
 (0)