Aurimas Fišeras : crypt32: Add "Disallowed" to CryptFindLocalizedName.

Alexandre Julliard julliard at winehq.org
Mon Jul 6 09:33:55 CDT 2009


Module: wine
Branch: master
Commit: 958899393d19a69bcba9e5c4fcaf2ddd805f974d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=958899393d19a69bcba9e5c4fcaf2ddd805f974d

Author: Aurimas Fišeras <aurimas at gmail.com>
Date:   Sun Jul  5 13:52:35 2009 +0300

crypt32: Add "Disallowed" to CryptFindLocalizedName.

---

 dlls/crypt32/crypt32_En.rc |    1 +
 dlls/crypt32/cryptres.h    |    1 +
 dlls/crypt32/oid.c         |    3 ++-
 3 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/dlls/crypt32/crypt32_En.rc b/dlls/crypt32/crypt32_En.rc
index 4670029..92d26c5 100644
--- a/dlls/crypt32/crypt32_En.rc
+++ b/dlls/crypt32/crypt32_En.rc
@@ -174,6 +174,7 @@ STRINGTABLE DISCARDABLE
     IDS_LOCALIZEDNAME_CA "Intermediate Certification Authorities"
     IDS_LOCALIZEDNAME_ADDRESSBOOK "Other People"
     IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER "Trusted Publishers"
+    IDS_LOCALIZEDNAME_DISALLOWED "Disallowed"
 }
 
 STRINGTABLE DISCARDABLE
diff --git a/dlls/crypt32/cryptres.h b/dlls/crypt32/cryptres.h
index f9845be..0bbffcc 100644
--- a/dlls/crypt32/cryptres.h
+++ b/dlls/crypt32/cryptres.h
@@ -167,6 +167,7 @@
 #define IDS_LOCALIZEDNAME_CA 1143
 #define IDS_LOCALIZEDNAME_ADDRESSBOOK 1144
 #define IDS_LOCALIZEDNAME_TRUSTEDPUBLISHER 1145
+#define IDS_LOCALIZEDNAME_DISALLOWED 1146
 
 #define IDS_KEY_ID 1200
 #define IDS_CERT_ISSUER 1201
diff --git a/dlls/crypt32/oid.c b/dlls/crypt32/oid.c
index f0ea8ea..ddc6efc 100644
--- a/dlls/crypt32/oid.c
+++ b/dlls/crypt32/oid.c
@@ -82,7 +82,8 @@ static const WCHAR MY[] = {'M','Y',0};
 static const WCHAR CA[] = {'C','A',0};
 static const WCHAR ADDRESSBOOK[] = {'A','D','D','R','E','S','S','B','O','O','K',0};
 static const WCHAR TRUSTEDPUBLISHER[] = {'T','r','u','s','t','e','d','P','u','b','l','i','s','h','e','r',0};
-static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK,TRUSTEDPUBLISHER};
+static const WCHAR DISALLOWED[] = {'D','i','s','a','l','l','o','w','e','d',0};
+static const LPCWSTR LocalizedKeys[] = {ROOT,MY,CA,ADDRESSBOOK,TRUSTEDPUBLISHER,DISALLOWED};
 static WCHAR LocalizedNames[sizeof(LocalizedKeys)/sizeof(LocalizedKeys[0])][256];
 
 static void free_function_sets(void)




More information about the wine-cvs mailing list