From 97b98236f3f1bd287fd5eca97f673dedc6e5dd31 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Aurimas=20Fi=C5=A1eras?= Date: Sun, 5 Jul 2009 13:52:35 +0300 Subject: 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) -- 1.6.3.3