From efe334b5b1c880d9a4213bb4935e1791cad3e5b8 Mon Sep 17 00:00:00 2001 From: Paul Vriens Date: Wed, 21 Jan 2009 08:19:57 +0100 Subject: [PATCH] crypt32/tests: Skip a few tests if needed. --- dlls/crypt32/tests/encode.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c index 9c35de1f01..3dfe9c2182 100644 --- a/dlls/crypt32/tests/encode.c +++ b/dlls/crypt32/tests/encode.c @@ -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);