openssl::fips

Function enable

source
pub fn enable(enabled: bool) -> Result<(), ErrorStack>
Expand description

Moves the library into or out of the FIPS 140-2 mode of operation.

This corresponds to FIPS_mode_set.