crypt32/tests: Skip a few tests if needed.

This commit is contained in:
Paul Vriens 2009-01-21 08:19:57 +01:00 committed by Alexandre Julliard
parent d18249dda6
commit efe334b5b1
1 changed files with 7 additions and 0 deletions

View File

@ -993,6 +993,13 @@ static void test_encodeUnicodeName(DWORD dwEncoding)
static void compareNameValues(const CERT_NAME_VALUE *expected,
const CERT_NAME_VALUE *got)
{
if (expected->dwValueType == CERT_RDN_UTF8_STRING &&
got->dwValueType == CERT_RDN_ENCODED_BLOB)
{
win_skip("Can't handle CERT_RDN_UTF8_STRING\n");
return;
}
ok(got->dwValueType == expected->dwValueType,
"Expected string type %d, got %d\n", expected->dwValueType,
got->dwValueType);