Commit a9efbf89 authored by Juan Lang's avatar Juan Lang Committed by Alexandre Julliard

crypt32: Remove no-ops.

parent 687e29b9
......@@ -354,7 +354,6 @@ static BOOL WINAPI CRYPT_CopyEncodedBlob(DWORD dwCertEncodingType,
if (blob->cbData)
memcpy(pbEncoded, blob->pbData, blob->cbData);
*pcbEncoded = blob->cbData;
ret = TRUE;
}
}
return ret;
......@@ -1221,7 +1220,7 @@ static BOOL WINAPI CRYPT_DEREncodeSet(DWORD dwCertEncodingType,
*pbEncoded++ = ASN_CONSTRUCTOR | ASN_SETOF;
CRYPT_EncodeLen(bytesNeeded - lenBytes - 1, pbEncoded, &lenBytes);
pbEncoded += lenBytes;
for (i = 0; ret && i < set->cBlob; i++)
for (i = 0; i < set->cBlob; i++)
{
memcpy(pbEncoded, set->rgBlob[i].pbData, set->rgBlob[i].cbData);
pbEncoded += set->rgBlob[i].cbData;
......
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