Alexandre Julliard : secur32/tests: Don' t check the exact number of cipher bits.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Apr 12 06:45:27 CDT 2016


Module: wine
Branch: stable
Commit: 9a8220c4ed66146627c5d7ad2bf1da1a91add5bf
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=9a8220c4ed66146627c5d7ad2bf1da1a91add5bf

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Dec 21 18:20:29 2015 +0100

secur32/tests: Don't check the exact number of cipher bits.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 9ab03dd7bbded6f9a2a93e5fec2f60b61125140a)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/secur32/tests/schannel.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index 35100f7..51c22d5 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -927,8 +927,7 @@ todo_wine
     status = pQueryContextAttributesA(&context, SECPKG_ATTR_CONNECTION_INFO, (void*)&conn_info);
     ok(status == SEC_E_OK, "QueryContextAttributesW(SECPKG_ATTR_CONNECTION_INFO) failed: %08x\n", status);
     if(status == SEC_E_OK) {
-        ok(conn_info.dwCipherStrength == 128 || conn_info.dwCipherStrength == 168,
-           "conn_info.dwCipherStrength = %d\n", conn_info.dwCipherStrength);
+        ok(conn_info.dwCipherStrength >= 128, "conn_info.dwCipherStrength = %d\n", conn_info.dwCipherStrength);
         ok(conn_info.dwHashStrength >= 128, "conn_info.dwHashStrength = %d\n", conn_info.dwHashStrength);
     }
 




More information about the wine-cvs mailing list