crypt32/tests: Fix compilation on systems that don't support nameless unions.

Francois Gouget fgouget at free.fr
Wed Aug 8 03:48:04 CDT 2007


---
 dlls/crypt32/tests/encode.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 9b63455..50c458d 100644
--- a/dlls/crypt32/tests/encode.c
+++ b/dlls/crypt32/tests/encode.c
@@ -1532,8 +1532,8 @@ static void test_decodeAltName(DWORD dwEncoding)
         ok(info->rgAltEntry[0].dwAltNameChoice == CERT_ALT_NAME_REGISTERED_ID,
          "Expected CERT_ALT_NAME_REGISTERED_ID, got %d\n",
          info->rgAltEntry[0].dwAltNameChoice);
-        ok(!strcmp(info->rgAltEntry[0].pszRegisteredID, "1.2.3"),
-         "Expected OID 1.2.3, got %s\n", info->rgAltEntry[0].pszRegisteredID);
+        ok(!strcmp(U(info->rgAltEntry[0]).pszRegisteredID, "1.2.3"),
+           "Expected OID 1.2.3, got %s\n", U(info->rgAltEntry[0]).pszRegisteredID);
         LocalFree(buf);
     }
     ret = CryptDecodeObjectEx(dwEncoding, X509_ALTERNATE_NAME,
-- 
1.5.2.4




More information about the wine-patches mailing list