From 49d1e39ef68835396b20d1e9c37b7b8a0acb1f68 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Fri, 28 Sep 2007 12:42:47 -0700 Subject: [PATCH] Implement SoftpubDefCertInit --- dlls/wintrust/softpub.c | 13 +++++++++++++ dlls/wintrust/wintrust.spec | 2 +- 2 files changed, 14 insertions(+), 1 deletions(-) diff --git a/dlls/wintrust/softpub.c b/dlls/wintrust/softpub.c index 3676652..a9b5464 100644 --- a/dlls/wintrust/softpub.c +++ b/dlls/wintrust/softpub.c @@ -27,6 +27,19 @@ #include "wine/debug.h" 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 a28257d..078e5bb 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 -- 1.4.1