crypt32: Return bytes decoded when copying DER-encoded bytes.
This commit is contained in:
parent
fd982c8597
commit
d7e8eed944
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue