Piotr Caban : crypt32: Fix content type in CRYPT_QueryEmbeddedMessageObject function.

Alexandre Julliard julliard at winehq.org
Tue May 3 13:31:03 CDT 2011


Module: wine
Branch: master
Commit: a343c1fbd0f37a5cadd98698ae5d580727ddf0c7
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a343c1fbd0f37a5cadd98698ae5d580727ddf0c7

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue May  3 18:51:09 2011 +0200

crypt32: Fix content type in CRYPT_QueryEmbeddedMessageObject function.

---

 dlls/crypt32/object.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/dlls/crypt32/object.c b/dlls/crypt32/object.c
index 378ce51..2587c4d 100644
--- a/dlls/crypt32/object.c
+++ b/dlls/crypt32/object.c
@@ -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);
                     }




More information about the wine-cvs mailing list