diff options
-rw-r--r-- | smime/ChangeLog | 3 | ||||
-rw-r--r-- | smime/lib/e-cert-db.c | 5 |
2 files changed, 7 insertions, 1 deletions
diff --git a/smime/ChangeLog b/smime/ChangeLog index bd723cd432..8ab6e0719c 100644 --- a/smime/ChangeLog +++ b/smime/ChangeLog @@ -1,5 +1,8 @@ 2004-01-05 Chris Toshok <toshok@ximian.com> + * lib/e-cert-db.c (e_cert_db_login_to_slot): oops, remove + hardcoded test passwd :) + * gui/component.c (smime_pk11_passwd): new function, implement the password dialog for PK11 slot authentication. (smime_component_init): new function, initialize any gui related diff --git a/smime/lib/e-cert-db.c b/smime/lib/e-cert-db.c index d37805d7c4..64145239ea 100644 --- a/smime/lib/e-cert-db.c +++ b/smime/lib/e-cert-db.c @@ -1114,7 +1114,10 @@ e_cert_db_login_to_slot (ECertDB *cert_db, if (PK11_NeedUserInit (slot)) { printf ("initializing slot password\n"); /* the user needs to specify the initial password */ - PK11_InitPin (slot, "", "farcl."); + /* XXX toshok - this should use a signal to + pop up a password dialog ala the + pk11_passwd prompt. for now we do it + here. */ } if (PK11_Authenticate (slot, PR_TRUE, NULL) != SECSuccess) { |