[pkg-opensc-commit] [libp11] 05/67: semicolons without statements break MSVC builds

Eric Dorland eric at moszumanska.debian.org
Sat Jan 30 05:34:08 UTC 2016


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

eric pushed a commit to branch master
in repository libp11.

commit fe5e6b4b632a805b9dcbf13c14d826224724b8f2
Author: Michał Trojnara <Michal.Trojnara at mirt.net>
Date:   Tue Dec 1 14:58:54 2015 +0100

    semicolons without statements break MSVC builds
---
 src/p11_ec.c  | 2 +-
 src/p11_key.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/p11_ec.c b/src/p11_ec.c
index 860f10d..e01795c 100644
--- a/src/p11_ec.c
+++ b/src/p11_ec.c
@@ -229,7 +229,7 @@ static ECDSA_SIG * pkcs11_ecdsa_do_sign(const unsigned char *dgst, int dlen,
 	ECDSA_SIG * sig = NULL;
 	PKCS11_KEY * key = NULL;
 	int siglen;
-	int nLen = 48; /* HACK */;
+	int nLen = 48; /* HACK */
 	int rv;
 
 	key = (PKCS11_KEY *) ECDSA_get_ex_data(ec, 0);
diff --git a/src/p11_key.c b/src/p11_key.c
index c2c63ca..dba1480 100644
--- a/src/p11_key.c
+++ b/src/p11_key.c
@@ -126,7 +126,7 @@ int pkcs11_reload_keys(PKCS11_KEY * keyin)
         PKCS11_KEY *key;
         unsigned int n;
         long int count;
-        CK_OBJECT_CLASS kclass = CKO_PRIVATE_KEY;;
+        CK_OBJECT_CLASS kclass = CKO_PRIVATE_KEY;
         CK_ATTRIBUTE attrs[2];
         int rv;
 	PKCS11_CTX *ctx;

-- 
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