diff options
author | Chris Toshok <toshok@ximian.com> | 2004-01-06 05:04:02 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2004-01-06 05:04:02 +0800 |
commit | 328a85b85a7bc4bacb0ac4d3fcca813b31cf22c4 (patch) | |
tree | 74476826213b99f23261eef0b59e119af3941826 | |
parent | 105fefb23fc1417084aae3c149ba6ed1bb849096 (diff) | |
download | gsoc2013-evolution-328a85b85a7bc4bacb0ac4d3fcca813b31cf22c4.tar.gz gsoc2013-evolution-328a85b85a7bc4bacb0ac4d3fcca813b31cf22c4.tar.zst gsoc2013-evolution-328a85b85a7bc4bacb0ac4d3fcca813b31cf22c4.zip |
oops, remove hardcoded test passwd :)
2004-01-05 Chris Toshok <toshok@ximian.com>
* lib/e-cert-db.c (e_cert_db_login_to_slot): oops, remove
hardcoded test passwd :)
svn path=/trunk/; revision=24061
-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) { |