[seahorse] pkcs11: Fix bugs in key generation
- From: Stefan Walter <stefw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [seahorse] pkcs11: Fix bugs in key generation
- Date: Wed, 14 Dec 2011 12:54:23 +0000 (UTC)
commit d2837739cda618d02b80729634721cceb59f4a04
Author: Stef Walter <stefw collabora co uk>
Date: Wed Dec 14 13:50:31 2011 +0100
pkcs11: Fix bugs in key generation
* Display algorithm correctly in key generation list when
token selection changes
* Remove invalid assertion when generation completes
pkcs11/seahorse-pkcs11-generate.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/pkcs11/seahorse-pkcs11-generate.c b/pkcs11/seahorse-pkcs11-generate.c
index cc8c15a..8938d9e 100644
--- a/pkcs11/seahorse-pkcs11-generate.c
+++ b/pkcs11/seahorse-pkcs11-generate.c
@@ -109,7 +109,6 @@ static void
complete_generate (SeahorsePkcs11Generate *self,
GError **error)
{
- g_assert (self->cancellable != NULL);
g_assert (error != NULL);
if (*error != NULL)
@@ -265,6 +264,7 @@ on_token_changed (GtkComboBox *combo_box,
MECHANISM_TYPE, type,
MECHANISM_LABEL, label,
-1);
+ valid = gtk_tree_model_iter_next (model, &iter);
}
}
while (valid)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]