summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjulien.pierre.bugs%sun.com <devnull@localhost>2005-04-02 06:33:25 +0000
committerjulien.pierre.bugs%sun.com <devnull@localhost>2005-04-02 06:33:25 +0000
commit20929e9ae3949ce843dacbcc1d3cb5188f207dc1 (patch)
treef9ef83cc2c2f8e93c44bf13822df90346b535635 /security
parent51204ff1b24a72c76405852f3a1fa35b01a5bc35 (diff)
downloadnss-hg-20929e9ae3949ce843dacbcc1d3cb5188f207dc1.tar.gz
Remove dead and very bogus pre-softoken code
Diffstat (limited to 'security')
-rw-r--r--security/nss/cmd/signtool/util.c33
1 files changed, 0 insertions, 33 deletions
diff --git a/security/nss/cmd/signtool/util.c b/security/nss/cmd/signtool/util.c
index f40b6adcc..32d4e8724 100644
--- a/security/nss/cmd/signtool/util.c
+++ b/security/nss/cmd/signtool/util.c
@@ -509,39 +509,6 @@ pk11_password_hardcode(PK11SlotInfo *slot, PRBool retry, void *arg)
}
-/************************************************************************
- *
- * c e r t D B N a m e C a l l b a c k
- */
-static char *
-certDBNameCallback(void *arg, int dbVersion)
-{
- char *fnarg;
- char *dir;
- char *filename;
-
- dir = SECU_ConfigDirectory (NULL);
-
- switch ( dbVersion ) {
- case 7:
- fnarg = "7";
- break;
- case 6:
- fnarg = "6";
- break;
- case 5:
- fnarg = "5";
- break;
- case 4:
- default:
- fnarg = "";
- break;
- }
- filename = PR_smprintf("%s/cert%s.db", dir, fnarg);
- return(filename);
-}
-
-
/***************************************************************
*
* s e c E r r o r S t r i n g