]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - nss-softokn/patches/nss-softokn-3.12.4-fips-fix.patch
xen: Lots of changes from the commits listed below.
[people/amarx/ipfire-3.x.git] / nss-softokn / patches / nss-softokn-3.12.4-fips-fix.patch
1 diff -up ./mozilla/security/nss/lib/freebl/nsslowhash.c.fips ./mozilla/security/nss/lib/freebl/nsslowhash.c
2 --- ./mozilla/security/nss/lib/freebl/nsslowhash.c.fips 2010-09-04 20:23:14.764313661 -0700
3 +++ ./mozilla/security/nss/lib/freebl/nsslowhash.c 2010-09-04 20:25:52.622313780 -0700
4 @@ -275,7 +275,7 @@ static int nsslow_GetFIPSEnabled(void) {
5
6 f = fopen("/proc/sys/crypto/fips_enabled", "r");
7 if (!f)
8 - return 1;
9 + return 0;
10
11 size = fread(&d, 1, 1, f);
12 fclose(f);