crypt32: Fix content type in CRYPT_QueryEmbeddedMessageObject function.

This commit is contained in:
Piotr Caban 2011-05-03 18:51:09 +02:00 committed by Alexandre Julliard
parent 1ece5b3ab6
commit a343c1fbd0

View file

@ -672,8 +672,7 @@ static BOOL CRYPT_QueryEmbeddedMessageObject(DWORD dwObjectType,
pdwMsgAndCertEncodingType, NULL, NULL,
phCertStore, phMsg);
if (ret && pdwContentType)
*pdwContentType =
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED;
*pdwContentType = CERT_QUERY_CONTENT_PKCS7_SIGNED_EMBED;
}
CryptMemFree(blob.pbData);
}