From 1bf7e9c41874b892e9dcb2450d4a0fe30a719721 Mon Sep 17 00:00:00 2001 From: martin Date: Fri, 30 Jan 2009 11:59:12 +0000 Subject: [PATCH] typo fix git-svn-id: https://www.opensc-project.org/svnp/opensc/trunk@3645 c6295689-39f2-0310-b995-f0e70906c6a9 --- src/pkcs11/framework-pkcs15.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pkcs11/framework-pkcs15.c b/src/pkcs11/framework-pkcs15.c index 022351ba..6193990b 100644 --- a/src/pkcs11/framework-pkcs15.c +++ b/src/pkcs11/framework-pkcs15.c @@ -817,7 +817,7 @@ static CK_RV pkcs15_create_tokens(struct sc_pkcs11_card *p11card) * If there's only 1 pin and the hide_empty_tokens option is set, * add the public objects to the slot that corresponds to that pin. */ - if (!(auth_count == 1 && (sc_pkcs11_conf.hide_empty_tokens || (fw_data->p15_card->flags & SC_PKCS15_CARD_FLAG_EMULATED))) + if (!(auth_count == 1 && (sc_pkcs11_conf.hide_empty_tokens || (fw_data->p15_card->flags & SC_PKCS15_CARD_FLAG_EMULATED)))) slot = NULL; /* Add all the remaining objects */