From 7127985641023e427866b087a009ca565dcf4ee9 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Tue, 27 Jan 2009 08:55:45 -0800 Subject: [PATCH] crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx. --- dlls/crypt32/crypt32.spec | 2 +- dlls/crypt32/encode.c | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index bc80b643cae..fcffab2bccc 100644 --- a/dlls/crypt32/crypt32.spec +++ b/dlls/crypt32/crypt32.spec @@ -216,7 +216,7 @@ @ stdcall I_CryptSetTls(long ptr) @ stdcall I_CryptUninstallAsn1Module(long) @ stub I_CryptUninstallOssGlobal -@ stub PFXExportCertStore +@ stdcall PFXExportCertStore(ptr ptr ptr long) @ stdcall PFXExportCertStoreEx(ptr ptr ptr ptr long) @ stub PFXImportCertStore @ stub RegCreateHKCUKeyExU diff --git a/dlls/crypt32/encode.c b/dlls/crypt32/encode.c index 3abc7c90cad..14d193fb3a6 100644 --- a/dlls/crypt32/encode.c +++ b/dlls/crypt32/encode.c @@ -4499,6 +4499,12 @@ BOOL WINAPI CryptEncodeObjectEx(DWORD dwCertEncodingType, LPCSTR lpszStructType, return ret; } +BOOL WINAPI PFXExportCertStore(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX, + LPCWSTR szPassword, DWORD dwFlags) +{ + return PFXExportCertStoreEx(hStore, pPFX, szPassword, NULL, dwFlags); +} + BOOL WINAPI PFXExportCertStoreEx(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword, void *pvReserved, DWORD dwFlags) { -- 2.11.4.GIT