On Mon, 26 Sep 2011, Ben Peddell wrote:

> On 25/09/2011 6:29 PM, Francois Gouget wrote:
> > 
> > Are these strings seem to be lacking spaces a bit. Are they real names 
> > or mere identifiers? Are they actually translatable?
> > 
> > dlls/crypt32/crypt32.rc:
> >     IDS_SPC_SP_AGENCY_INFO "SpcSpAgencyInfo"
> >     IDS_SPC_FINANCIAL_CRITERIA "SpcFinancialCriteria"
> >     IDS_SPC_MINIMAL_CRITERIA "SpcMinimalCriteria"
> 
> Those names are searched for by CryptFindOIDInfo() when the dwKeyType
> argument is CRYPT_OID_INFO_NAME_KEY, and are the values returned in the
> pwszName member of the CRYPT_OID_INFO structure.
> 
> I can confirm that crypt32 under Windows 7 returns those exact strings.

Does this mean they don't need to be translated?

I tried to check myself (I have access to non-English Windows versions) 
but not knowing much about crypt32 I'm not getting the expected strings.

-- 
Francois Gouget <[email protected]>              http://fgouget.free.fr/
  Good judgment comes from experience, and experience comes from bad judgment
                               -- Barry LePatner
commit f8146eaa720155a7e5c35d786e7acc55a80f9a40
Author: Francois Gouget <[email protected]>
Date:   Tue Jan 17 19:32:14 2012 +0100

    DEBUG: crypt32: Try to figure out whether the IDS_SPC_XXX strings need to be translated.

diff --git a/dlls/crypt32/tests/oid.c b/dlls/crypt32/tests/oid.c
index b661407..ea5f706 100644
--- a/dlls/crypt32/tests/oid.c
+++ b/dlls/crypt32/tests/oid.c
@@ -553,6 +553,7 @@ static void test_findOIDInfo(void)
     ok(info != NULL, "Expected to find szOID_RSA_MD5\n");
     if (info)
     {
+        printf("OID_KEY pwszName=%s\n", wine_dbgstr_w(info->pwszName));
         ok(!strcmp(info->pszOID, szOID_RSA_MD5), "Expected %s, got %s\n",
          szOID_RSA_MD5, info->pszOID);
         ok(U(*info).Algid == CALG_MD5, "Expected CALG_MD5, got %d\n",
@@ -562,6 +563,7 @@ static void test_findOIDInfo(void)
     ok(info != NULL, "Expected to find sha1\n");
     if (info)
     {
+        printf("NAME_KEY pwszName=%s\n", wine_dbgstr_w(info->pwszName));
         ok(!strcmp(info->pszOID, szOID_OIWSEC_sha1), "Expected %s, got %s\n",
          szOID_OIWSEC_sha1, info->pszOID);
         ok(U(*info).Algid == CALG_SHA1, "Expected CALG_SHA1, got %d\n",
@@ -571,6 +573,7 @@ static void test_findOIDInfo(void)
     ok(info != NULL, "Expected to find sha1\n");
     if (info)
     {
+        printf("ALGID_KEY pwszName=%s\n", wine_dbgstr_w(info->pwszName));
         ok(!strcmp(info->pszOID, szOID_OIWSEC_sha1), "Expected %s, got %s\n",
          szOID_OIWSEC_sha1, info->pszOID);
         ok(U(*info).Algid == CALG_SHA1, "Expected CALG_SHA1, got %d\n",
@@ -580,6 +583,7 @@ static void test_findOIDInfo(void)
     ok(info != NULL, "Expected to find md5RSA\n");
     if (info)
     {
+        printf("SIGN_KEY pwszName=%s\n", wine_dbgstr_w(info->pwszName));
         ok(!strcmp(info->pszOID, szOID_RSA_MD5RSA), "Expected %s, got %s\n",
          szOID_RSA_MD5RSA, info->pszOID);
         ok(U(*info).Algid == CALG_MD5, "Expected CALG_MD5, got %d\n",


Reply via email to