X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=libgcrypt%2Flibgcrypt-1.4.4-fips-no-access.patch;fp=libgcrypt%2Flibgcrypt-1.4.4-fips-no-access.patch;h=f2972e9779b786935624aa547977bee362376708;hb=bd73a544598d5d58e7602fa046b5c5cfecc64801;hp=0000000000000000000000000000000000000000;hpb=1fef8f1d3aec2e394286835bad3c4904be51ca19;p=fedora-mingw.git diff --git a/libgcrypt/libgcrypt-1.4.4-fips-no-access.patch b/libgcrypt/libgcrypt-1.4.4-fips-no-access.patch new file mode 100644 index 0000000..f2972e9 --- /dev/null +++ b/libgcrypt/libgcrypt-1.4.4-fips-no-access.patch @@ -0,0 +1,13 @@ +Do not abort when the fips mode flag is simply inaccessible because of +insufficient permissions. +diff -up libgcrypt-1.4.4/src/fips.c.no-access libgcrypt-1.4.4/src/fips.c +--- libgcrypt-1.4.4/src/fips.c.no-access 2009-01-29 17:37:12.000000000 +0100 ++++ libgcrypt-1.4.4/src/fips.c 2009-01-29 17:37:15.000000000 +0100 +@@ -155,6 +155,7 @@ _gcry_initialize_fips_mode (int force) + fclose (fp); + } + else if ((saved_errno = errno) != ENOENT ++ && saved_errno != EACCES + && !access ("/proc/version", F_OK) ) + { + /* Problem reading the fips file despite that we have the proc