diff options
author | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-04-17 16:40:05 +0000 |
---|---|---|
committer | biswatosh.chakraborty%sun.com <devnull@localhost> | 2007-04-17 16:40:05 +0000 |
commit | 45105225a2252b61b132b02d8a370a88f557f16a (patch) | |
tree | 950827164546a0b2837d267be615ad7ec3a9c722 | |
parent | 6a40c77d41e67c16b7d4cb813d6cb84490da9abf (diff) | |
download | nss-hg-45105225a2252b61b132b02d8a370a88f557f16a.tar.gz |
This is for Bug Id: 162748
Reviewer: Nelson Bolyard
With this patch, signtool will succeed even when -p option is absent
-rw-r--r-- | security/nss/cmd/signtool/util.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/security/nss/cmd/signtool/util.c b/security/nss/cmd/signtool/util.c index 32d4e8724..552fca599 100644 --- a/security/nss/cmd/signtool/util.c +++ b/security/nss/cmd/signtool/util.c @@ -823,6 +823,8 @@ InitCrypto(char *cert_dir, PRBool readOnly) if (password) { PK11_SetPasswordFunc(pk11_password_hardcode); + } else { + PK11_SetPasswordFunc(SECU_GetModulePassword); } /* Must login to FIPS before you do anything else */ |