From f6fae84304c991e96dae63146ad1c1b8320599f1 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Mon, 22 Dec 2008 19:04:46 -0800 Subject: [PATCH] cryptui: Implement importing CTLs in CryptUIWizImport. --- dlls/cryptui/main.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/cryptui/main.c b/dlls/cryptui/main.c index 4ca73645304..eeae7a04b84 100644 --- a/dlls/cryptui/main.c +++ b/dlls/cryptui/main.c @@ -3704,12 +3704,18 @@ BOOL WINAPI CryptUIWizImport(DWORD dwFlags, HWND hwndParent, LPCWSTR pwszWizardT else import_warn_type_mismatch(dwFlags, hwndParent, pwszWizardTitle); break; + case CRYPTUI_WIZ_IMPORT_SUBJECT_CTL_CONTEXT: + if ((ret = check_context_type(dwFlags, CERT_QUERY_CONTENT_CTL))) + ret = import_ctl(pImportSrc->u.pCTLContext, hDestCertStore); + else + import_warn_type_mismatch(dwFlags, hwndParent, pwszWizardTitle); + break; case CRYPTUI_WIZ_IMPORT_SUBJECT_CERT_STORE: ret = import_store(dwFlags, hwndParent, pwszWizardTitle, pImportSrc->u.hCertStore, hDestCertStore); break; default: - FIXME("source type not implemented: %u\n", pImportSrc->dwSubjectChoice); + WARN("unknown source type: %u\n", pImportSrc->dwSubjectChoice); SetLastError(E_INVALIDARG); return FALSE; } -- 2.11.4.GIT