crypt32: stub implementation of CryptFindLocalizedName

Mounir IDRASSI mounir.idrassi at idrix.fr
Sun May 13 18:05:53 CDT 2007


Hi,
This patch adds a stub implementation for CryptFindLocalizedName needed
by a third party certificate management tool we are currently testing.

Mounir IDRASSI
IDRIX - Cryptography and IT Security Experts
http://www.idrix.fr

-------------- next part --------------
>From 1df52db14ac9a0bcbfb677219f4b117aebb439a1 Mon Sep 17 00:00:00 2001
From: Mounir IDRASSI <mounir.idrassi at idrix.fr>
Date: Mon, 14 May 2007 00:59:53 +0200
Subject: crypt32: stub implementation of CryptFindLocalizedName

---
 dlls/crypt32/crypt32.spec |    1 +
 dlls/crypt32/oid.c        |    9 +++++++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/dlls/crypt32/crypt32.spec b/dlls/crypt32/crypt32.spec
index 81e6023..d8bb091 100644
--- a/dlls/crypt32/crypt32.spec
+++ b/dlls/crypt32/crypt32.spec
@@ -113,6 +113,7 @@
 @ stub CryptExportPKCS8
 @ stdcall CryptExportPublicKeyInfo(long long long ptr ptr)
 @ stdcall CryptExportPublicKeyInfoEx(long long long str long ptr ptr ptr)
+@ stdcall CryptFindLocalizedName(wstr)
 @ stdcall CryptFindOIDInfo(long ptr long)
 @ stdcall CryptFormatObject(long long long ptr str ptr long ptr ptr)
 @ stdcall CryptFreeOIDFunctionAddress(long long)
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index bbad491..1865f97 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -839,6 +839,15 @@ BOOL WINAPI CryptUnregisterDefaultOIDFunction(DWORD dwEncodingType,
     return ret;
 }
 
+/********************************************************************
+ *              CryptFindLocalizedName (CRYPT32.@)
+ */
+LPCWSTR WINAPI CryptFindLocalizedName(LPCWSTR pwszCryptName)
+{
+    FIXME(" %s - stub\n",debugstr_w(pwszCryptName));
+    return NULL;
+}
+
 static CRITICAL_SECTION oidInfoCS;
 static struct list oidInfo;
 
-- 
1.4.4.2



More information about the wine-patches mailing list