mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-15 00:44:19 +09:00
nla: fix reading of TsCspDetail
Due to a bug in the tag comparison, ReaderName, CardName, CspName and containerName were not read on server side during a smartcard logon, leading to incomplete settings.
This commit is contained in:
@@ -1112,7 +1112,7 @@ static BOOL set_creds_octetstring_to_settings(WinPrAsn1Decoder* dec, WinPrAsn1_t
|
||||
if (optional)
|
||||
{
|
||||
WinPrAsn1_tagId itemTag = 0;
|
||||
if (!WinPrAsn1DecPeekTag(dec, &itemTag) || (itemTag != tagId))
|
||||
if (!WinPrAsn1DecPeekTag(dec, &itemTag) || (itemTag != (ER_TAG_CONTEXTUAL | tagId)))
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user