diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c index 36766529965..a9b5464869c 100644 --- a/dlls/wintrust/softpub.c +++ b/dlls/wintrust/softpub.c @@ -27,6 +27,19 @@ WINE_DEFAULT_DEBUG_CHANNEL(wintrust); +HRESULT WINAPI SoftpubDefCertInit(CRYPT_PROVIDER_DATA *data) +{ + HRESULT ret = S_FALSE; + + TRACE("(%p)\n", data); + + if (data->padwTrustStepErrors && + !data->padwTrustStepErrors[TRUSTERROR_STEP_FINAL_WVTINIT]) + ret = S_OK; + TRACE("returning %08x\n", ret); + return ret; +} + HRESULT WINAPI SoftpubInitialize(CRYPT_PROVIDER_DATA *data) { HRESULT ret = S_FALSE; diff --git a/dlls/wintrust/wintrust.spec b/dlls/wintrust/wintrust.spec index a28257dcd71..078e5bba910 100644 --- a/dlls/wintrust/wintrust.spec +++ b/dlls/wintrust/wintrust.spec @@ -59,7 +59,7 @@ @ stdcall SoftpubAuthenticode(ptr) @ stdcall SoftpubCheckCert(ptr long long long) @ stdcall SoftpubCleanup(ptr) -@ stub SoftpubDefCertInit +@ stdcall SoftpubDefCertInit(ptr) @ stdcall SoftpubDllRegisterServer() @ stdcall SoftpubDllUnregisterServer() @ stub SoftpubDumpStructure