gnutls_fips140_mode_enabled3
Api function
Usage
#include <gnutls/gnutls.h>
unsigned gnutls_fips140_mode_enabled( void);
Arguments
- void
Overview
Checks whether this library is in FIPS140 mode. The returned value corresponds to the library mode as set with gnutls_fips140_set_mode().
If gnutls_fips140_set_mode() was called with GNUTLS_FIPS140_SET_MODE_THREAD then this function will return the current thread's FIPS140 mode, otherwise the global value is returned.
Returns
return non-zero if true or zero if false.
Since
3.3.0
Releases
7 releases since Debian 8 (Jessie); the text changed 6 times.