Juan Lang : crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx.
Alexandre Julliard
julliard at winehq.org
Wed Jan 28 08:02:51 CST 2009
Module: wine
Branch: master
Commit: 7127985641023e427866b087a009ca565dcf4ee9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7127985641023e427866b087a009ca565dcf4ee9
Author: Juan Lang <juan.lang at gmail.com>
Date: Tue Jan 27 08:55:45 2009 -0800
crypt32: Implement PFXExportCertStore on top of PFXExportCertStoreEx.
---
dlls/crypt32/crypt32.spec | 2 +-
dlls/crypt32/encode.c | 6 ++++++
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index bc80b64..fcffab2 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 3abc7c9..14d193f 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)
{
More information about the wine-cvs
mailing list