Module: wine Branch: master Commit: 5adeae168b7b3e96315995314bcc89ce6549849a URL: http://source.winehq.org/git/wine.git/?a=commit;h=5adeae168b7b3e96315995314b...
Author: Juan Lang juan.lang@gmail.com Date: Fri Sep 28 12:42:47 2007 -0700
wintrust: 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 @@
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