[Pcsclite-cvs-commit] PKCS11/src p11_sign.c,1.14,1.15

rousseau@quantz.debian.org rousseau@quantz.debian.org
Mon, 01 Mar 2004 11:31:55 +0100


Update of /cvsroot/muscleapps/PKCS11/src
In directory quantz:/tmp/cvs-serv13095

Modified Files:
	p11_sign.c 
Log Message:
add goto finish; in C_Sign() previous patch to avoid the
session->sign_key = 0; (please, add your email and some comments in bug
reports sent to alioth)


Index: p11_sign.c
===================================================================
RCS file: /cvsroot/muscleapps/PKCS11/src/p11_sign.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- p11_sign.c	27 Feb 2004 17:24:59 -0000	1.14
+++ p11_sign.c	1 Mar 2004 10:31:52 -0000	1.15
@@ -114,6 +114,7 @@
 		// if pSignature is NULL, return pulSignatureLen with the
 		// right value to allocate pSignature
 		*pulSignatureLen = (key->msc_key->keySize / 8);
+		goto finish;
 	}
 /*
 	else if (INVALID_SESSION)