We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a5cf255 commit 3829ba2Copy full SHA for 3829ba2
tests/online/badssl.c
@@ -70,6 +70,8 @@ void test_online_badssl__old_cipher(void)
70
if (!g_has_ssl)
71
cl_skip();
72
73
- cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
74
- cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", &opts));
+ cl_git_fail_with(GIT_ECERTIFICATE,
+ git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
75
76
+ git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", &opts));
77
}
0 commit comments