diff options
author | emaldona%redhat.com <devnull@localhost> | 2011-01-20 18:41:51 +0000 |
---|---|---|
committer | emaldona%redhat.com <devnull@localhost> | 2011-01-20 18:41:51 +0000 |
commit | fd5a4f330aff17ea9485fb22bcf1cd054ac5ccbb (patch) | |
tree | c00da35ac8dd530532b75cbeba3949559e71bc52 /security/nss | |
parent | 769646f51ed126cb5b54b82483ed9a3550eb6c0e (diff) | |
download | nss-hg-fd5a4f330aff17ea9485fb22bcf1cd054ac5ccbb.tar.gz |
Bug 589288 - FIPS isn't enabled if /proc/sys/crypto/fips_enabled is missing, r=rrelyea
Diffstat (limited to 'security/nss')
-rw-r--r-- | security/nss/lib/freebl/nsslowhash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/security/nss/lib/freebl/nsslowhash.c b/security/nss/lib/freebl/nsslowhash.c index 19f2ceb13..5110a64ac 100644 --- a/security/nss/lib/freebl/nsslowhash.c +++ b/security/nss/lib/freebl/nsslowhash.c @@ -275,7 +275,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); |