Skip to content

Commit

Permalink
binding to get fips status for ossl300
Browse files Browse the repository at this point in the history
  • Loading branch information
reaperhulk committed Apr 22, 2023
1 parent 35e5c54 commit 8f23c2f
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openssl-sys/src/handwritten/evp.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8f23c2f

Please sign in to comment.