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

oldstable
Francois Gouget 2007-08-08 10:48:04 +02:00 committed by Alexandre Julliard
parent c605afa31e
commit f045243542
1 changed files with 2 additions and 2 deletions

View File

@ -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,