From 0dab059797840d1ae4121a1d355d556c6ea691c6 Mon Sep 17 00:00:00 2001 From: Marek Chmiel Date: Fri, 17 Aug 2012 16:44:22 -0500 Subject: [PATCH] dssenh/tests: Fixed failing block cipher mode tests on the DSSENH cryptographic service provider. --- dlls/dssenh/tests/dssenh.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/dlls/dssenh/tests/dssenh.c b/dlls/dssenh/tests/dssenh.c index c3bea3bed08..1553ed115dd 100644 --- a/dlls/dssenh/tests/dssenh.c +++ b/dlls/dssenh/tests/dssenh.c @@ -649,15 +649,15 @@ struct ciphermode_test { static const BYTE encryptedCFB[] = { 0x51,0x15,0x77,0xab,0x62,0x1f,0x7d,0xcb, 0x35,0x1e,0xd8,0xd3,0x2a,0x00,0xf0,0x94, -0x7c,0xa5,0x28,0xda,0xb8,0x81,0x15,0x99, 0xd1,0xd5,0x06,0x18,0xb8,0x85,0xfc,0xc9 +0x7c,0xa5,0x28,0xda,0xb8,0x81,0x15,0x99, 0xd1,0xd5,0x06,0x1d,0xd3,0x46,0x7e,0xca }; static const BYTE encryptedCBC[] = { 0x8f,0x7b,0x56,0xeb,0xad,0x4d,0x76,0xc2, 0xd5,0x1d,0xf0,0x60,0x9d,0xde,0x96,0xe8, -0xb7,0x7b,0xeb,0x4b,0xee,0x3f,0xae,0x05, 0xdd,0x3b,0x62,0x47,0x7f,0x6f,0x79,0x6c +0xb7,0x7b,0xeb,0x4b,0xee,0x3f,0xae,0x05, 0x20,0xf5,0xe0,0x75,0xa0,0x1d,0xf9,0x39 }; static const BYTE encryptedECB[] = { 0x8f,0x7b,0x56,0xeb,0xad,0x4d,0x76,0xc2, 0x8b,0xe0,0x4e,0xe4,0x98,0x4f,0xb8,0x3b, -0xf3,0xeb,0x6f,0x0a,0x57,0x91,0xdd,0xc7, 0x64,0x8b,0xb9,0x50,0xe6,0x5e,0x76,0x72 +0xf3,0xeb,0x6f,0x0a,0x57,0x91,0xdd,0xc7, 0x34,0x5d,0x4c,0xa3,0x7e,0x97,0xbf,0xee }; static const struct ciphermode_test ciphermode_data[] = { @@ -742,7 +742,6 @@ static void test_cipher_modes(const struct ciphermode_test *tests, int testLen) ok(result, "Expected release of the provider.\n"); } - START_TEST(dssenh) { test_acquire_context();