[pkg-opensc-commit] [opensc] 14/23: PIV: workaround for reading public key
Eric Dorland
eric at moszumanska.debian.org
Sun Jul 23 18:23:10 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 805c6b5a30e24bf937614fc79fabc38f49de4cc4
Author: Frank Morgner <frankmorgner at gmail.com>
Date: Tue Jul 11 10:07:28 2017 +0200
PIV: workaround for reading public key
closes https://github.com/OpenSC/OpenSC/pull/1069
---
src/libopensc/pkcs15-pubkey.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libopensc/pkcs15-pubkey.c b/src/libopensc/pkcs15-pubkey.c
index e1935a1..63879fc 100644
--- a/src/libopensc/pkcs15-pubkey.c
+++ b/src/libopensc/pkcs15-pubkey.c
@@ -1234,7 +1234,7 @@ sc_pkcs15_read_der_file(sc_context_t *ctx, char * filename,
int r;
int f = -1;
size_t len, offs;
- u8 tagbuf[16]; /* enough to read in the tag and length */
+ u8 tagbuf[1024]; /* enough to read in the tag and length */
u8 * rbuf = NULL;
size_t rbuflen = 0;
const u8 * body = NULL;
--
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