Module: wine Branch: master Commit: 6c054f057b75cf0257d78d50f70db5eafb5fc658 URL: http://source.winehq.org/git/wine.git/?a=commit;h=6c054f057b75cf0257d78d50f7...
Author: Juan Lang juan.lang@gmail.com Date: Thu Jun 28 16:41:43 2007 -0700
crypt32: Don't return fake HCRYPTMSG from CryptMsgOpenTo*.
---
dlls/crypt32/msg.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 2377ae2..d00d68e 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -30,7 +30,7 @@ HCRYPTMSG WINAPI CryptMsgOpenToEncode(DWORD dwMsgEncodingType, DWORD dwFlags, { FIXME("(%08x, %08x, %08x, %p, %s, %p): stub\n", dwMsgEncodingType, dwFlags, dwMsgType, pvMsgEncodeInfo, debugstr_a(pszInnerContentObjID), pStreamInfo); - return (HCRYPTMSG)1; + return NULL; }
HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType, DWORD dwFlags, @@ -39,7 +39,7 @@ HCRYPTMSG WINAPI CryptMsgOpenToDecode(DWORD dwMsgEncodingType, DWORD dwFlags, { FIXME("(%08x, %08x, %08x, %08lx, %p, %p): stub\n", dwMsgEncodingType, dwFlags, dwMsgType, hCryptProv, pRecipientInfo, pStreamInfo); - return (HCRYPTMSG)2; + return NULL; }
HCRYPTMSG WINAPI CryptMsgDuplicate(HCRYPTMSG hCryptMsg)