Commit bef571b7 authored by Paul Kehrer's avatar Paul Kehrer
Browse files

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
parent 3e57d9a1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
#[cfg(ossl300)]
#[cfg(ossl320)]
struct EvpKdf(*mut ffi::EVP_KDF);

#[cfg(ossl300)]
#[cfg(ossl320)]
impl Drop for EvpKdf {
    fn drop(&mut self) {
        unsafe {
@@ -10,10 +10,10 @@ impl Drop for EvpKdf {
    }
}

#[cfg(ossl300)]
#[cfg(ossl320)]
struct EvpKdfCtx(*mut ffi::EVP_KDF_CTX);

#[cfg(ossl300)]
#[cfg(ossl320)]
impl Drop for EvpKdfCtx {
    fn drop(&mut self) {
        unsafe {