[pkg-opensc-commit] [opensc] 74/295: Initialize PIN logged_in field for default PKCS#15 data

Eric Dorland eric at moszumanska.debian.org
Sat Jun 24 21:11:17 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 cda3a2b5adb2158cbbd75009c2ded9e92a5baa55
Author: Frank Morgner <frankmorgner at gmail.com>
Date:   Thu Sep 1 02:17:29 2016 +0200

    Initialize PIN logged_in field for default PKCS#15 data
---
 src/libopensc/pkcs15-pin.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/libopensc/pkcs15-pin.c b/src/libopensc/pkcs15-pin.c
index 91b672c..8efc605 100644
--- a/src/libopensc/pkcs15-pin.c
+++ b/src/libopensc/pkcs15-pin.c
@@ -137,6 +137,7 @@ sc_pkcs15_decode_aodf_entry(struct sc_pkcs15_card *p15card, struct sc_pkcs15_obj
 	/* Fill in defaults */
 	memset(&info, 0, sizeof(info));
 	info.tries_left = -1;
+	info.logged_in = SC_PIN_STATE_UNKNOWN;
 
 	r = sc_asn1_decode(ctx, asn1_auth_type, *buf, *buflen, buf, buflen);
 	if (r == SC_ERROR_ASN1_END_OF_CONTENTS)

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