crypt32: Return bytes decoded when decoding an alt name entry.
This commit is contained in:
parent
d7e8eed944
commit
1f4bcb4a3d
@ -2232,6 +2232,8 @@ static BOOL CRYPT_AsnDecodeAltNameEntry(const BYTE *pbEncoded, DWORD cbEncoded,
|
||||
}
|
||||
if (ret)
|
||||
{
|
||||
if (pcbDecoded)
|
||||
*pcbDecoded = 1 + lenBytes + dataLen;
|
||||
if (!entry)
|
||||
*pcbStructInfo = bytesNeeded;
|
||||
else if (*pcbStructInfo < bytesNeeded)
|
||||
|
Loading…
x
Reference in New Issue
Block a user