[pkg-opensc-commit] [pkcs11-helper] 98/253: CKR_PIN_LEN_RANGE is PIN incorrect in some providers

Eric Dorland eric at moszumanska.debian.org
Fri Jan 6 23:39:08 UTC 2017


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

eric pushed a commit to branch master
in repository pkcs11-helper.

commit 34f2419bca03f09431e06d1b9aa198c1739c0b9b
Author: Alon Bar-Lev <alon.barlev at gmail.com>
Date:   Sat Apr 28 08:59:12 2007 +0000

    CKR_PIN_LEN_RANGE is PIN incorrect in some providers
---
 lib/pkcs11h-session.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/pkcs11h-session.c b/lib/pkcs11h-session.c
index 90e73e3..fe2df6c 100644
--- a/lib/pkcs11h-session.c
+++ b/lib/pkcs11h-session.c
@@ -1061,7 +1061,8 @@ _pkcs11h_session_login (
 			if (
 				rv != CKR_OK &&
 				rv != CKR_PIN_INCORRECT &&
-				rv != CKR_PIN_INVALID
+				rv != CKR_PIN_INVALID &&
+				rv != CKR_PIN_LEN_RANGE
 			) {
 				goto cleanup;
 			}

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



More information about the pkg-opensc-commit mailing list