Do not reset scard context cancel

This commit is contained in:
Armin Novak 2022-01-17 11:37:34 +01:00 committed by akallabeth
parent f1e4cc7ee5
commit 9bd519d892
1 changed files with 0 additions and 1 deletions

View File

@ -462,7 +462,6 @@ LONG WINAPI Emulate_SCardIsValidContext(SmartcardEmulationContext* smartcard, SC
{ {
SCardContext* value = HashTable_GetItemValue(smartcard->contexts, (const void*)hContext); SCardContext* value = HashTable_GetItemValue(smartcard->contexts, (const void*)hContext);
WINPR_ASSERT(value); /* Must be valid after Emulate_SCardIsValidContext */ WINPR_ASSERT(value); /* Must be valid after Emulate_SCardIsValidContext */
value->canceled = FALSE;
} }
WLog_Print(smartcard->log, smartcard->log_default_level, WLog_Print(smartcard->log, smartcard->log_default_level,