summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_fips140_mode_enabled
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_fips140_mode_enabled')
-rw-r--r--doc/functions/gnutls_fips140_mode_enabled18
1 files changed, 18 insertions, 0 deletions
diff --git a/doc/functions/gnutls_fips140_mode_enabled b/doc/functions/gnutls_fips140_mode_enabled
new file mode 100644
index 0000000..603e613
--- /dev/null
+++ b/doc/functions/gnutls_fips140_mode_enabled
@@ -0,0 +1,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