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; +}