diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-22 14:46:37 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-11-27 11:41:44 +0100 |
commit | cc29718387be9c7dcbcdc06dd63435ceaf7298a9 (patch) | |
tree | ff5dc696b8d9d8d8f5ac45f203e229886b67397d /lib/fips.c | |
parent | 47ccd66d8369cb1585736da0970f399a417554d3 (diff) | |
download | gnutls-cc29718387be9c7dcbcdc06dd63435ceaf7298a9.tar.gz |
Added an audit message in self test failure
Diffstat (limited to 'lib/fips.c')
-rw-r--r-- | lib/fips.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/fips.c b/lib/fips.c index 7deef5a73e..fcb9da2f32 100644 --- a/lib/fips.c +++ b/lib/fips.c @@ -258,6 +258,7 @@ int _gnutls_fips_perform_self_checks(void) return 0; error: _gnutls_switch_fips_state(FIPS_STATE_ERROR); + _gnutls_audit_log(NULL, "FIPS140-2 self testing failed\n"); return GNUTLS_E_SELF_TEST_ERROR; } |