]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
report the FIPS140-2 mode
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 2 Oct 2014 07:25:58 +0000 (09:25 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 2 Oct 2014 07:25:58 +0000 (09:25 +0200)
lib/gnutls_global.c

index 49ca3e678d1721affa703bbad6bdd913c6d1f2da..e4a303fcd60e59a8fd3f88749034e66a53c66c2e 100644 (file)
@@ -306,6 +306,7 @@ int gnutls_global_init(void)
         * res == not in fips140 mode
         */
        if (res != 0) {
+               _gnutls_debug_log("FIPS140-2 mode: %d\n", res);
                _gnutls_priority_update_fips();
 
                /* first round of self checks, these are done on the