Skip to main content

ensure_client_config_fips_compliant

Function ensure_client_config_fips_compliant 

Source
pub fn ensure_client_config_fips_compliant(
    config: &ClientConfig,
) -> Result<(), GenericError>
Expand description

Ensures that a client TLS configuration is FIPS compliant.

In FIPS builds, this checks the Rustls FIPS marker on the configuration. In non-FIPS builds, this is a no-op.

ยงErrors

If FIPS support is enabled and the configuration is not FIPS compliant, an error is returned.