Alexandre Julliard : secur32/tests: Relax the certificate check a little.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 24 11:08:37 CDT 2016


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue May 24 23:11:08 2016 +0900

secur32/tests: Relax the certificate check a little.

Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

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

diff --git a/dlls/secur32/tests/schannel.c b/dlls/secur32/tests/schannel.c
index 51c22d5..f5cfd50 100644
--- a/dlls/secur32/tests/schannel.c
+++ b/dlls/secur32/tests/schannel.c
@@ -640,7 +640,7 @@ static void test_remote_cert(PCCERT_CONTEXT remote_cert)
         cert_cnt++;
     }
 
-    ok(cert_cnt == 3, "cert_cnt = %u\n", cert_cnt);
+    ok(cert_cnt == 2 || cert_cnt == 3, "cert_cnt = %u\n", cert_cnt);
     ok(incl_remote, "context does not contain cert itself\n");
 }
 




More information about the wine-cvs mailing list