[gnome-settings-daemon] smartcard: ignore softtoken
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] smartcard: ignore softtoken
- Date: Thu, 22 Aug 2013 22:01:08 +0000 (UTC)
commit a61d4a123e97445f3a5ff5a24c3106df97d870d6
Author: Ray Strode <rstrode redhat com>
Date: Thu Aug 22 17:52:35 2013 -0400
smartcard: ignore softtoken
For some reason that I haven't fully fleshed out, sometimes
the soft token gets into the "will load list" and then havoc
ensues.
This commit fixes that by explicitly ignoring built-in modules.
https://bugzilla.gnome.org/show_bug.cgi?id=706620
plugins/smartcard/gsd-smartcard-manager.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/plugins/smartcard/gsd-smartcard-manager.c b/plugins/smartcard/gsd-smartcard-manager.c
index 0385003..c7951c4 100644
--- a/plugins/smartcard/gsd-smartcard-manager.c
+++ b/plugins/smartcard/gsd-smartcard-manager.c
@@ -538,6 +538,9 @@ activate_all_drivers_async (GsdSmartcardManager *self,
if (!SECMOD_HasRemovableSlots (node->module))
continue;
+ if (node->module->dllName == NULL)
+ continue;
+
operation->pending_drivers_count++;
activate_driver (self, node->module,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]