Paul Vriens : crypt32/tests: Skip a few tests if needed.
Alexandre Julliard
julliard at winehq.org
Wed Jan 21 06:39:23 CST 2009
Module: wine
Branch: master
Commit: efe334b5b1c880d9a4213bb4935e1791cad3e5b8
URL: http://source.winehq.org/git/wine.git/?a=commit;h=efe334b5b1c880d9a4213bb4935e1791cad3e5b8
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Wed Jan 21 08:19:57 2009 +0100
crypt32/tests: Skip a few tests if needed.
---
dlls/crypt32/tests/encode.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/crypt32/tests/encode.c b/dlls/crypt32/tests/encode.c
index 9c35de1..3dfe9c2 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);
More information about the wine-cvs
mailing list