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