summaryrefslogtreecommitdiff
path: root/security/nss/lib/freebl
diff options
context:
space:
mode:
authoremaldona%redhat.com <devnull@localhost>2010-09-10 00:42:36 +0000
committeremaldona%redhat.com <devnull@localhost>2010-09-10 00:42:36 +0000
commit3cb76872b56896faa6fb4a2c8ebaa6c9615db6be (patch)
treee37cdeef5f77f7ac2e4b7eb3f8676f204de9e250 /security/nss/lib/freebl
parent6e7eb23346a0491fde121284aee688ffed33f37a (diff)
downloadnss-hg-3cb76872b56896faa6fb4a2c8ebaa6c9615db6be.tar.gz
Bug 589288, nsslow_GetFIPSEnabled returns 0 when /proc/sys/crypto/fips_enabled isn't present, r=rrelyea
Diffstat (limited to 'security/nss/lib/freebl')
-rw-r--r--security/nss/lib/freebl/nsslowhash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/nsslowhash.c b/security/nss/lib/freebl/nsslowhash.c
index a4ce1c3eb..861c81467 100644
--- a/security/nss/lib/freebl/nsslowhash.c
+++ b/security/nss/lib/freebl/nsslowhash.c
@@ -294,7 +294,7 @@ static int nsslow_GetFIPSEnabled(void) {
f = fopen("/proc/sys/crypto/fips_enabled", "r");
if (!f)
- return 1;
+ return 0;
size = fread(&d, 1, 1, f);
fclose(f);