diff options
| author | Hai-May Chao <Hai-May.Chao@Sun.COM> | 2009-09-18 15:55:18 -0700 |
|---|---|---|
| committer | Hai-May Chao <Hai-May.Chao@Sun.COM> | 2009-09-18 15:55:18 -0700 |
| commit | f25619f6cf945650c50a819c0023b568b28ca6d5 (patch) | |
| tree | e0b3e3f30f7b8696912306dcba29aa75c4073550 /usr/src/lib/libcryptoutil/common | |
| parent | 533d3a4910febc9985154b885dbe971e3c21ca04 (diff) | |
| download | illumos-joyent-f25619f6cf945650c50a819c0023b568b28ca6d5.tar.gz | |
6883089 The changes made to pkcs11_softtoken.so in snv_124 cause many crypto failures on local zones
Diffstat (limited to 'usr/src/lib/libcryptoutil/common')
| -rw-r--r-- | usr/src/lib/libcryptoutil/common/config_parsing.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr/src/lib/libcryptoutil/common/config_parsing.c b/usr/src/lib/libcryptoutil/common/config_parsing.c index 14578975d9..9f1f71828b 100644 --- a/usr/src/lib/libcryptoutil/common/config_parsing.c +++ b/usr/src/lib/libcryptoutil/common/config_parsing.c @@ -597,9 +597,10 @@ get_fips_mode(int *mode) char *token1; if ((pfile = fopen(_PATH_KCF_CONF, "r")) == NULL) { - cryptoerror(LOG_ERR, + cryptoerror(LOG_DEBUG, "failed to open the kcf.conf file for read only."); - return (CKR_FUNCTION_FAILED); + *mode = CRYPTO_FIPS_MODE_DISABLED; + return (CKR_OK); } while (fgets(buffer, BUFSIZ, pfile) != NULL) { |
