diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-09 11:03:25 +0100 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2013-12-09 11:08:59 +0100 |
commit | 80596228381b256eab9e4980295f32487e530454 (patch) | |
tree | 958a20e1e445e42b1e20ab57ce91606bda474662 /lib/gnutls_global.c | |
parent | 49a856323097012a465334889310de1103c966ae (diff) | |
download | gnutls-80596228381b256eab9e4980295f32487e530454.tar.gz |
FIPS140 mode is detected on run-time.
That allows a library compiled in FIPS140 mode to operate as the
full library if the system is not in FIPS mode.
Diffstat (limited to 'lib/gnutls_global.c')
-rw-r--r-- | lib/gnutls_global.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/gnutls_global.c b/lib/gnutls_global.c index f23967f92d..b99ad28e0b 100644 --- a/lib/gnutls_global.c +++ b/lib/gnutls_global.c @@ -338,6 +338,8 @@ static int gnutls_global_init2(unsigned int flags) * res == not in fips140 mode */ if (res != 0) { + _gnutls_priority_update_fips(); + ret = _gnutls_fips_perform_self_checks(); if (res != 2) { if (ret < 0) { |