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

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


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

eric pushed a commit to tag pkcs11-helper-1.03
in repository pkcs11-helper.

commit b7bac972f252002be2f931f2833a4ff339ff9701
Author: alonbl <alonbl at 485eb718-1723-0410-b8a9-88cf21a28c35>
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