diff options
| author | Steven Fackler <[email protected]> | 2018-01-06 08:50:50 -0800 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2018-01-06 08:51:20 -0800 |
| commit | 45c15a65ad6fd66b5bb5d018b79a6cc8a76c4d74 (patch) | |
| tree | 0ab929a5b9ad4b5bf5be5ef8537c9ff368da1322 /openssl-sys/src | |
| parent | Merge pull request #811 from apeduru/x509-docs (diff) | |
| download | rust-openssl-45c15a65ad6fd66b5bb5d018b79a6cc8a76c4d74.tar.xz rust-openssl-45c15a65ad6fd66b5bb5d018b79a6cc8a76c4d74.zip | |
FIPS mode support
Closes #818
Diffstat (limited to 'openssl-sys/src')
| -rw-r--r-- | openssl-sys/src/lib.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openssl-sys/src/lib.rs b/openssl-sys/src/lib.rs index 84dd192e..b250e15b 100644 --- a/openssl-sys/src/lib.rs +++ b/openssl-sys/src/lib.rs @@ -2694,4 +2694,9 @@ extern "C" { pub fn SMIME_read_CMS(bio: *mut BIO, bcont: *mut *mut BIO) -> *mut CMS_ContentInfo; #[cfg(not(libressl))] pub fn CMS_ContentInfo_free(cms: *mut CMS_ContentInfo); + + #[cfg(not(libressl))] + pub fn FIPS_mode_set(onoff: c_int) -> c_int; + #[cfg(not(libressl))] + pub fn FIPS_mode() -> c_int; } |