summaryrefslogtreecommitdiff
path: root/src/g10lib.h
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2008-09-15 19:21:57 +0000
committerWerner Koch <wk@gnupg.org>2008-09-15 19:21:57 +0000
commit7627f9646701e88c827bbadd1231221d5f0c89a6 (patch)
tree51d35bfd172c13ebee77936d7c1df25e54b66268 /src/g10lib.h
parentf5c7621d2496563dea8b4670056c229bb7f596f6 (diff)
downloadlibgcrypt-7627f9646701e88c827bbadd1231221d5f0c89a6.tar.gz
Use syslog to log important messages.
Add an external RNG test hook.
Diffstat (limited to 'src/g10lib.h')
-rw-r--r--src/g10lib.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/g10lib.h b/src/g10lib.h
index 3ef7c94b..0d0aea68 100644
--- a/src/g10lib.h
+++ b/src/g10lib.h
@@ -74,6 +74,7 @@
/*-- src/global.c -*/
+int _gcry_global_is_operational (void);
gcry_error_t _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr);
void _gcry_check_heap (const void *a);
int _gcry_get_debug_flag (unsigned int mask);
@@ -310,7 +311,7 @@ void _gcry_fips_signal_error (const char *srcfile,
#endif
int _gcry_fips_is_operational (void);
-#define fips_is_operational() (_gcry_fips_is_operational ())
+#define fips_is_operational() (_gcry_global_is_operational ())
#define fips_not_operational() (GCRY_GPG_ERR_NOT_OPERATIONAL)
int _gcry_fips_test_operational (void);