From e11e1841f3c58e87d5c77d246c2a86b0e946fd70 Mon Sep 17 00:00:00 2001 From: Louis Lenders Date: Fri, 3 Jun 2011 13:50:38 +0200 Subject: [PATCH] crypt32: Add stub for PFXVerifyPassword. --- dlls/crypt32/crypt32.spec | 1 + dlls/crypt32/decode.c | 7 +++++++ include/wincrypt.h | 2 ++ 3 files changed, 10 insertions(+) diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec index 45ec6662942..66d831b2e77 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 cd9a2a1812d..649ca55da89 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 7a2e5b398a4..2f41360c667 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);