Signed-off-by: Andreas Piesk <[email protected]>
---
 usr/sbin/pkcsconf/pkcsconf.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/usr/sbin/pkcsconf/pkcsconf.c b/usr/sbin/pkcsconf/pkcsconf.c
index dad8ccb..f38dc3a 100755
--- a/usr/sbin/pkcsconf/pkcsconf.c
+++ b/usr/sbin/pkcsconf/pkcsconf.c
@@ -989,7 +989,7 @@ list_slot(int slot_id){
         }
 
         /* Display the slot description */
-        printf("%ld:", SlotList[lcv]);
+        printf("%ld:", SlotList[slot_id]);
         printf(PKCSINIT_MSG(SLOTDESC, "\tDescription: %.64s\n"), 
SlotInfo.slotDescription);
 
         return CKR_OK;
@@ -1127,8 +1127,6 @@ init_token(int slot_id, CK_CHAR_PTR pin){
     CK_CHAR     label[32],        // What we want to set the Label of the card 
to
                 enteredlabel[33]; // Max size of 32 + carriage return;
 
-    unsigned int lcv;             // Loop Control Varable
-
     /* Find out the size of the entered PIN */
     pinlen = strlen((char *)pin);
 
-- 
1.7.1


------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Opencryptoki-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opencryptoki-tech

Reply via email to