Commit 74682385 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

crypt32: Avoid shadowing a parameter.

parent e4cb946c
...@@ -2397,16 +2397,16 @@ static BOOL CDecodeMsg_FinalizeSignedContent(CDecodeMsg *msg, ...@@ -2397,16 +2397,16 @@ static BOOL CDecodeMsg_FinalizeSignedContent(CDecodeMsg *msg,
!strcmp(msg->u.signed_data.info->content.pszObjId, !strcmp(msg->u.signed_data.info->content.pszObjId,
szOID_RSA_data)) szOID_RSA_data))
{ {
CRYPT_DATA_BLOB *blob; CRYPT_DATA_BLOB *rsa_blob;
ret = CryptDecodeObjectEx(X509_ASN_ENCODING, ret = CryptDecodeObjectEx(X509_ASN_ENCODING,
X509_OCTET_STRING, content->pbData, content->cbData, X509_OCTET_STRING, content->pbData, content->cbData,
CRYPT_DECODE_ALLOC_FLAG, NULL, &blob, &size); CRYPT_DECODE_ALLOC_FLAG, NULL, &rsa_blob, &size);
if (ret) if (ret)
{ {
ret = CSignedMsgData_Update(&msg->u.signed_data, ret = CSignedMsgData_Update(&msg->u.signed_data,
blob->pbData, blob->cbData, TRUE, Verify); rsa_blob->pbData, rsa_blob->cbData, TRUE, Verify);
LocalFree(blob); LocalFree(rsa_blob);
} }
} }
else else
......
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