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

Alexandre Julliard julliard at wine.codeweavers.com
Mon Dec 21 15:10:33 CST 2015


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

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>

---

 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