From 35b126a0330594ecf2d2f7983acfc93175594419 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 4 Aug 2008 22:13:56 -0700 Subject: [PATCH] crypt32: Add stub for CryptMsgGetAndVerifySigner. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/msg.c | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index a5ef37dc2bf..485421f33da 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -148,7 +148,7 @@ @ stub CryptMsgCountersignEncoded @ stdcall CryptMsgDuplicate(ptr) @ stub CryptMsgEncodeAndSignCTL -@ stub CryptMsgGetAndVerifySigner +@ stdcall CryptMsgGetAndVerifySigner(ptr long ptr long ptr ptr) @ stdcall CryptMsgGetParam(ptr long long ptr ptr) @ stdcall CryptMsgOpenToDecode(long long long long ptr ptr) @ stdcall CryptMsgOpenToEncode(long long long ptr str ptr) diff --git a/dlls/crypt32/msg.c b/dlls/crypt32/msg.c index 4571607e935..1ad6a96edee 100644 --- a/dlls/crypt32/msg.c +++ b/dlls/crypt32/msg.c @@ -2445,3 +2445,13 @@ BOOL WINAPI CryptMsgControl(HCRYPTMSG hCryptMsg, DWORD dwFlags, pvCtrlPara); return msg->control(hCryptMsg, dwFlags, dwCtrlType, pvCtrlPara); } + +BOOL WINAPI CryptMsgGetAndVerifySigner(HCRYPTMSG hCryptMsg, DWORD cSignerStore, + HCERTSTORE *rghSignerStore, DWORD dwFlags, PCCERT_CONTEXT *ppSigner, + DWORD *pdwSignerIndex) +{ + FIXME("(%p, %d, %p, %08x, %p, %p): stub\n", hCryptMsg, cSignerStore, + rghSignerStore, dwFlags, ppSigner, pdwSignerIndex); + SetLastError(ERROR_CALL_NOT_IMPLEMENTED); + return FALSE; +}