Page MenuHome GnuPG

740_0002-scd-map-card-reset-event.patch
Needs ReviewPublic

Authored by dhoffend on Dec 21 2015, 11:29 PM.
This revision needs review, but there are no reviewers specified.

Details

Reviewers
None
Summary

From b28eed6651f868bfe9f9b2edb30bcd178e1bcc93 Mon Sep 17 00:00:00 2001
From: Daniel Hoffend <dh@dotlan.net>
Date: Sun, 20 Dec 2015 03:07:32 +0100
Subject: [PATCH] scd: map card reset event

  • scd/apdu.c (pcsc_error_to_sw): map PCSC_W_RESET_CARD event to the internal SW_HOST_CARD_INACTIVE error code

Signed-off-by: Daniel Hoffend <dh@dotlan.net>
GnuPG-bug-id: 2167

In Windows 8 (and later), PC/SC service issues a
PCSC_W_RESET_CARD event when the scdaemon tries to access

a smartcard after waking up from sleep mode.

scd/apdu.c | 2 ++
1 file changed, 2 insertions(+)

2.1.4

Test Plan

Diff Detail

Lint
Lint Skipped
Unit
Unit Tests Skipped