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

Alexandre Julliard julliard at wine.codeweavers.com
Wed Aug 8 08:59:52 CDT 2007


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

Author: Francois Gouget <fgouget at free.fr>
Date:   Wed Aug  8 10:48:04 2007 +0200

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

---

 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,




More information about the wine-cvs mailing list