Skip to content

Commit bef571b

Browse files
committed
EvpKdf and EvpKdfCtx are available in 3.0.0, but mark them ossl320
We don't use them anywhere that isn't 3.2.0+ right now and that makes clippy angry. It can be changed if and when these get used for methods on older versions
1 parent 3e57d9a commit bef571b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

openssl/src/kdf.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
#[cfg(ossl300)]
1+
#[cfg(ossl320)]
22
struct EvpKdf(*mut ffi::EVP_KDF);
33

4-
#[cfg(ossl300)]
4+
#[cfg(ossl320)]
55
impl Drop for EvpKdf {
66
fn drop(&mut self) {
77
unsafe {
@@ -10,10 +10,10 @@ impl Drop for EvpKdf {
1010
}
1111
}
1212

13-
#[cfg(ossl300)]
13+
#[cfg(ossl320)]
1414
struct EvpKdfCtx(*mut ffi::EVP_KDF_CTX);
1515

16-
#[cfg(ossl300)]
16+
#[cfg(ossl320)]
1717
impl Drop for EvpKdfCtx {
1818
fn drop(&mut self) {
1919
unsafe {

0 commit comments

Comments
 (0)