0b312a8
Do not abort when the fips mode flag is simply inaccessible because of
0b312a8
insufficient permissions.
0b312a8
diff -up libgcrypt-1.4.4/src/fips.c.no-access libgcrypt-1.4.4/src/fips.c
0b312a8
--- libgcrypt-1.4.4/src/fips.c.no-access	2009-01-29 17:37:12.000000000 +0100
0b312a8
+++ libgcrypt-1.4.4/src/fips.c	2009-01-29 17:37:15.000000000 +0100
0b312a8
@@ -155,6 +155,7 @@ _gcry_initialize_fips_mode (int force)
0b312a8
         fclose (fp);
0b312a8
       }
0b312a8
     else if ((saved_errno = errno) != ENOENT
0b312a8
+             && saved_errno != EACCES
0b312a8
              && !access ("/proc/version", F_OK) )
0b312a8
       {
0b312a8
         /* Problem reading the fips file despite that we have the proc