Home GnuPG

fips: Factor out check_fips_system_setting function.

Description

fips: Factor out check_fips_system_setting function.

* src/fips.c (check_fips_system_setting): New.
(_gcry_initialize_fips_mode): Use the new function.
  • GnuPG-bug-id: T5636
  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>