[pkg-opensc-commit] [opensc] 172/295: silence warning about not logging in

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:28 UTC 2017


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

eric pushed a commit to branch master
in repository opensc.

commit 9d5fe7803d8ed7f5275c4401e8146578a86f085c
Author: Frank Morgner <frankmorgner at gmail.com>
Date:   Wed Feb 8 19:53:40 2017 +0100

    silence warning about not logging in
---
 src/tools/pkcs11-tool.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/tools/pkcs11-tool.c b/src/tools/pkcs11-tool.c
index b966ddd..8e62cef 100644
--- a/src/tools/pkcs11-tool.c
+++ b/src/tools/pkcs11-tool.c
@@ -2893,8 +2893,8 @@ static void  authenticate_if_required(CK_SESSION_HANDLE session, CK_OBJECT_HANDL
 		p11_fatal("C_OpenSession", rv);
 
 	switch(sessionInfo.state){
-		case CKS_RW_USER_FUNCTIONS: //logged in, not need to continue.
-			util_warn("authentication was requested, but was already logged in");
+		case CKS_RW_USER_FUNCTIONS:
+		   	//logged in, not need to continue.
 			return;
 		case CKS_RW_PUBLIC_SESSION:
 			break;

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



More information about the pkg-opensc-commit mailing list