diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index fab52a0a0bf..a5af07d8d89 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -185,7 +185,7 @@ @ stub CryptUnregisterOIDInfo @ stdcall CryptVerifyCertificateSignature(long long ptr long ptr) @ stdcall CryptVerifyCertificateSignatureEx(long long long ptr long ptr long ptr) -@ stub CryptVerifyDetachedMessageHash +@ stdcall CryptVerifyDetachedMessageHash(ptr ptr long long ptr ptr ptr ptr) @ stub CryptVerifyDetachedMessageSignature @ stub CryptVerifyMessageHash @ stdcall CryptVerifyMessageSignature(ptr long ptr long ptr ptr ptr) diff --git a/dlls/crypt32/message.c b/dlls/crypt32/message.c index 2aeb3cfc2d7..b1390942779 100644 --- a/dlls/crypt32/message.c +++ b/dlls/crypt32/message.c @@ -263,3 +263,14 @@ BOOL WINAPI CryptHashMessage(PCRYPT_HASH_MESSAGE_PARA pHashPara, } return ret; } + +BOOL WINAPI CryptVerifyDetachedMessageHash(PCRYPT_HASH_MESSAGE_PARA pHashPara, + BYTE *pbDetachedHashBlob, DWORD cbDetachedHashBlob, DWORD cToBeHashed, + const BYTE *rgpbToBeHashed[], DWORD rgcbToBeHashed[], BYTE *pbComputedHash, + DWORD *pcbComputedHash) +{ + FIXME("(%p, %p, %d, %d, %p, %p, %p, %p): stub\n", pHashPara, + pbDetachedHashBlob, cbDetachedHashBlob, cToBeHashed, rgpbToBeHashed, + rgcbToBeHashed, pbComputedHash, pcbComputedHash); + return FALSE; +}