crypt32: Return bytes decoded when copying DER-encoded bytes.

This commit is contained in:
Juan Lang 2007-09-17 15:05:15 -07:00 committed by Alexandre Julliard
parent fd982c8597
commit d7e8eed944
1 changed files with 2 additions and 0 deletions

View File

@ -1836,6 +1836,8 @@ static BOOL CRYPT_AsnDecodeCopyBytesInternal(const BYTE *pbEncoded,
assert(blob->pbData);
memcpy(blob->pbData, pbEncoded, blob->cbData);
}
if (pcbDecoded)
*pcbDecoded = cbEncoded;
}
return ret;
}