[pkg-opensc-commit] [libp11] 88/239: remove unused variables.

Eric Dorland eric at moszumanska.debian.org
Sat Oct 17 06:21:12 UTC 2015


This is an automated email from the git hooks/post-receive script.

eric pushed a commit to branch master
in repository libp11.

commit b2d09c21454a6a33b60fb3154a1692fb0b217479
Author: Andreas Jellinghaus <andreas at ionisiert.de>
Date:   Fri Nov 17 11:09:19 2006 +0000

    remove unused variables.
---
 src/p11_slot.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/p11_slot.c b/src/p11_slot.c
index 63a02e3..50418fc 100644
--- a/src/p11_slot.c
+++ b/src/p11_slot.c
@@ -176,9 +176,8 @@ int PKCS11_logout(PKCS11_SLOT * slot)
 int PKCS11_init_token(PKCS11_TOKEN * token, const char *pin, const char *label)
 {
 	PKCS11_SLOT_private *priv = PRIVSLOT(TOKEN2SLOT(token));
-	PKCS11_CTX_private *cpriv;
 	PKCS11_CTX *ctx = priv->parent;
-	int n, rv;
+	int rv;
 
 	if (!label)
 		label = "PKCS#11 Token";
@@ -188,6 +187,8 @@ int PKCS11_init_token(PKCS11_TOKEN * token, const char *pin, const char *label)
 	CRYPTOKI_checkerr(PKCS11_F_PKCS11_INIT_TOKEN, rv);
 
 	/* FIXME: how to update the token?
+	 * PKCS11_CTX_private *cpriv;
+	 * int n;
 	 * cpriv = PRIVCTX(ctx);
 	 * for (n = 0; n < cpriv->nslots; n++) {
 	 * 	if (pkcs11_check_token(ctx, cpriv->slots + n) < 0)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opensc/libp11.git



More information about the pkg-opensc-commit mailing list