Louis Lenders : crypt32: Add stub for PFXVerifyPassword.
Alexandre Julliard
julliard at winehq.org
Fri Jun 3 14:04:42 CDT 2011
Module: wine
Branch: master
Commit: e11e1841f3c58e87d5c77d246c2a86b0e946fd70
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e11e1841f3c58e87d5c77d246c2a86b0e946fd70
Author: Louis Lenders <xerox_xerox2000 at yahoo.co.uk>
Date: Fri Jun 3 13:50:38 2011 +0200
crypt32: Add stub for PFXVerifyPassword.
---
dlls/crypt32/crypt32.spec | 1 +
dlls/crypt32/decode.c | 7 +++++++
include/wincrypt.h | 2 ++
3 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 45ec666..66d831b 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -225,6 +225,7 @@
@ stdcall PFXExportCertStoreEx(ptr ptr ptr ptr long)
@ stdcall PFXImportCertStore(ptr ptr long)
@ stdcall PFXIsPFXBlob(ptr)
+@ stdcall PFXVerifyPassword(ptr wstr long)
@ stub RegCreateHKCUKeyExU
@ stub RegCreateKeyExU
@ stub RegDeleteValueU
diff --git a/dlls/crypt32/decode.c b/dlls/crypt32/decode.c
index cd9a2a1..649ca55 100644
--- a/dlls/crypt32/decode.c
+++ b/dlls/crypt32/decode.c
@@ -6112,3 +6112,10 @@ HCERTSTORE WINAPI PFXImportCertStore(CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword,
FIXME_(crypt)("(%p, %p, %08x): stub\n", pPFX, szPassword, dwFlags);
return NULL;
}
+
+BOOL WINAPI PFXVerifyPassword(CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword,
+ DWORD dwFlags)
+{
+ FIXME_(crypt)("(%p, %p, %08x): stub\n", pPFX, szPassword, dwFlags);
+ return FALSE;
+}
diff --git a/include/wincrypt.h b/include/wincrypt.h
index 7a2e5b3..2f41360 100644
--- a/include/wincrypt.h
+++ b/include/wincrypt.h
@@ -4496,6 +4496,8 @@ BOOL WINAPI PFXExportCertStoreEx(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX,
LPCWSTR szPassword, void *pvReserved, DWORD dwFlags);
BOOL WINAPI PFXExportCertStore(HCERTSTORE hStore, CRYPT_DATA_BLOB *pPFX,
LPCWSTR szPassword, DWORD dwFlags);
+BOOL WINAPI PFXVerifyPassword(CRYPT_DATA_BLOB *pPFX, LPCWSTR szPassword,
+ DWORD dwFlags);
/* cryptnet.dll functions */
BOOL WINAPI CryptCancelAsyncRetrieval(HCRYPTASYNC hAsyncRetrieval);
More information about the wine-cvs
mailing list