From 1efe0bc39bb8af7efc7084e15d69f28f7faab02f Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 5 Jan 2009 13:33:45 -0800 Subject: [PATCH] crypt32: Add stub for CryptMsgSignCTL. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/msg.c | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index 8d431b40fcb..3f9ac98e99c 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -153,7 +153,7 @@ @ stdcall CryptMsgGetParam(ptr long long ptr ptr) @ stdcall CryptMsgOpenToDecode(long long long long ptr ptr) @ stdcall CryptMsgOpenToEncode(long long long ptr str ptr) -@ stub CryptMsgSignCTL +@ stdcall CryptMsgSignCTL(long ptr long ptr long ptr ptr) @ stdcall CryptMsgUpdate(ptr ptr long long) @ stub CryptMsgVerifyCountersignatureEncoded @ stdcall CryptMsgVerifyCountersignatureEncodedEx(ptr long ptr long ptr long long ptr long ptr) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 949717f8341..cbbbffe159a 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -2905,3 +2905,12 @@ BOOL WINAPI CryptMsgEncodeAndSignCTL(DWORD dwMsgEncodingType, pSignInfo, dwFlags, pbEncoded, pcbEncoded); return FALSE; } + +BOOL WINAPI CryptMsgSignCTL(DWORD dwMsgEncodingType, BYTE *pbCtlContent, + DWORD cbCtlContent, PCMSG_SIGNED_ENCODE_INFO pSignInfo, DWORD dwFlags, + BYTE *pbEncoded, DWORD *pcbEncoded) +{ + FIXME("(%08x, %p, %d, %p, %08x, %p, %p): stub\n", dwMsgEncodingType, + pbCtlContent, cbCtlContent, pSignInfo, dwFlags, pbEncoded, pcbEncoded); + return FALSE; +}