From ed610517d7a8e31e64d6df7dbda3562fef218516 Mon Sep 17 00:00:00 2001 From: "viktor.tarasov" Date: Thu, 13 May 2010 17:47:04 +0000 Subject: [PATCH] plcs11: set default value for 'lock_login' to 'true' as it' stated by the commets in opensc.con.in At the origin there were problem of signing with Feitian card, noted by Ludovic. http://www.opensc-project.org/pipermail/opensc-devel/2010-May/014180.html git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@4346 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/pkcs11/misc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkcs11/misc.c b/src/pkcs11/misc.c index 0b876afa..0456f7b6 100644 --- a/src/pkcs11/misc.c +++ b/src/pkcs11/misc.c @@ -289,7 +289,7 @@ void load_pkcs11_parameters(struct sc_pkcs11_config *conf, sc_context_t * ctx) conf->max_virtual_slots = 16; conf->slots_per_card = 4; conf->hide_empty_tokens = 1; - conf->lock_login = 0; + conf->lock_login = 1; conf->soft_keygen_allowed = 0; conf->pin_unblock_style = SC_PKCS11_PIN_UNBLOCK_NOT_ALLOWED; conf->create_puk_slot = 0;