diff options
Diffstat (limited to 'src/visibility.h')
-rw-r--r-- | src/visibility.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/visibility.h b/src/visibility.h index b7e8369a..c44cb836 100644 --- a/src/visibility.h +++ b/src/visibility.h @@ -298,7 +298,12 @@ MARK_VISIBLEX (_gcry_mpi_get_const) between a public and an internal version is that the internal version use gpg_err_code_t and the public version gpg_error_t. */ +#if defined(FIPS_FORCE_FILE) +/* It's valid use in src/fips.c to get the address of gcry_check_version. */ +#else #define gcry_check_version _gcry_USE_THE_UNDERSCORED_FUNCTION +#endif + #define gcry_control _gcry_USE_THE_UNDERSCORED_FUNCTION #define gcry_set_allocation_handler _gcry_USE_THE_UNDERSCORED_FUNCTION |