diff options
Diffstat (limited to 'src/global.c')
-rw-r--r-- | src/global.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/global.c b/src/global.c index 894146e9..1d5314b3 100644 --- a/src/global.c +++ b/src/global.c @@ -469,7 +469,7 @@ _gcry_vcontrol (enum gcry_ctl_cmds cmd, va_list arg_ptr) /* Already initialized. If we are already operational we run a selftest. If not we use the is_operational call to force us into operational state if possible. */ - if (_gcry_fips_test_operational ()) + if (_gcry_fips_test_error_or_operational ()) _gcry_fips_run_selftests (); if (_gcry_fips_is_operational ()) err = GPG_ERR_GENERAL; /* Used as TRUE value */ |