Commit 1f4bcb4a authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Return bytes decoded when decoding an alt name entry.

parent d7e8eed9
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment