Commit 8f23c2f6 authored by Paul Kehrer's avatar Paul Kehrer
Browse files

binding to get fips status for ossl300

parent 35e5c547
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -65,6 +65,14 @@ cfg_if! {
    }
}

cfg_if! {
    if #[cfg(ossl300)] {
        extern "C" {
            pub fn EVP_default_properties_is_fips_enabled(libctx: *mut OSSL_LIB_CTX) -> c_int;
        }
    }
}

extern "C" {
    pub fn EVP_DigestInit_ex(ctx: *mut EVP_MD_CTX, typ: *const EVP_MD, imple: *mut ENGINE)
        -> c_int;