summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrelyea%netscape.com <devnull@localhost>2002-11-04 20:37:08 +0000
committerrelyea%netscape.com <devnull@localhost>2002-11-04 20:37:08 +0000
commit9dc6b7e5d0f947990940152068730f88e0ea7269 (patch)
tree91c0b40b175ad893ba85f3975b3fedc60f0a7a25
parent45e836c963df60ff93b149c384cb6a7c02069a94 (diff)
downloadnss-hg-9dc6b7e5d0f947990940152068730f88e0ea7269.tar.gz
!@#!$@! signtool thinks it knows how to verify if the certdb's are there and
OK or not. Of course it doesn't. bob
-rw-r--r--security/nss/cmd/signtool/util.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/security/nss/cmd/signtool/util.c b/security/nss/cmd/signtool/util.c
index b0fb5ae82..4d4b9cf65 100644
--- a/security/nss/cmd/signtool/util.c
+++ b/security/nss/cmd/signtool/util.c
@@ -291,7 +291,10 @@ VerifyCertDir(char *dir, char *keyName)
return;
}
- sprintf (fn, "%s/cert7.db", dir);
+ /* This code is really broken because it makes underlying assumptions about
+ * how the NSS profile directory is laid out, but these names can change
+ * from release to release. */
+ sprintf (fn, "%s/cert8.db", dir);
if (PR_Access (fn, PR_ACCESS_EXISTS))
{