cryptdlg: Implement CertTrustInit.
diff --git a/dlls/cryptdlg/main.c b/dlls/cryptdlg/main.c
index 36f2a1b..ba79d4f 100644
--- a/dlls/cryptdlg/main.c
+++ b/dlls/cryptdlg/main.c
@@ -76,8 +76,15 @@
  */
 HRESULT WINAPI CertTrustInit(CRYPT_PROVIDER_DATA *pProvData)
 {
-    FIXME("(%p)\n", pProvData);
-    return E_NOTIMPL;
+    HRESULT ret = S_FALSE;
+
+    TRACE("(%p)\n", pProvData);
+
+    if (pProvData->padwTrustStepErrors &&
+     !pProvData->padwTrustStepErrors[TRUSTERROR_STEP_FINAL_WVTINIT])
+        ret = S_OK;
+    TRACE("returning %08x\n", ret);
+    return ret;
 }
 
 /***********************************************************************