[pkg-opensc-commit] [opensc] 04/23: Fix maximum CHR length

Eric Dorland eric at moszumanska.debian.org
Sun Jul 23 18:23:08 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 0e8aca8557cd2acfeb4b30be3ece4a12a3ecc767
Author: asc <andreas.schwier at cardcontact.de>
Date:   Fri Jun 23 16:20:47 2017 +0200

    Fix maximum CHR length
---
 src/libopensc/card-sc-hsm.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libopensc/card-sc-hsm.h b/src/libopensc/card-sc-hsm.h
index 39efb46..0a4fb3b 100644
--- a/src/libopensc/card-sc-hsm.h
+++ b/src/libopensc/card-sc-hsm.h
@@ -89,7 +89,7 @@ struct sc_cvc {
 
 	int modulusSize;					// Size of RSA modulus in bits
 
-	char chr[17];						// Certificate holder reference
+	char chr[21];						// Certificate holder reference
 
 	u8 *signature;						// Certificate signature or request self-signed signature
 	size_t signatureLen;

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