Skip to content

Commit

Permalink
Merge pull request #1901 from reaperhulk/fips-is-bad-and-should-feel-bad
Browse files Browse the repository at this point in the history
binding to get fips status for ossl300
  • Loading branch information
sfackler authored Apr 22, 2023
2 parents 35e5c54 + 8f23c2f commit f9964ef
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 f9964ef

Please sign in to comment.