blob: 603e61313909dd580f6a4c1a9dafa289a9c1101c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
@deftypefun {unsigned} {gnutls_fips140_mode_enabled} ( @var{void})
Checks whether this library is in FIPS140 mode. The returned
value corresponds to the library mode as set with
@code{gnutls_fips140_set_mode()} .
If @code{gnutls_fips140_set_mode()} was called with @code{GNUTLS_FIPS140_SET_MODE_THREAD}
then this function will return the current thread's FIPS140 mode, otherwise
the global value is returned.
@strong{Returns:} return non-zero if true or zero if false.
@strong{Since:} 3.3.0
@end deftypefun
|