Skip to content

Commit 4ab9567

Browse files
authored
Merge pull request libgit2#4418 from libgit2/cmn/rc4
Re-enable the RC4 test
2 parents d185ab2 + 589b812 commit 4ab9567

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/online/badssl.c

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,9 @@ void test_online_badssl__old_cipher(void)
6767
git_clone_options opts = GIT_CLONE_OPTIONS_INIT;
6868
opts.fetch_opts.callbacks.certificate_check = cert_check_assert_invalid;
6969

70-
/* FIXME: we don't actually reject RC4 anywhere, figure out what to tweak */
71-
cl_skip();
72-
7370
if (!g_has_ssl)
7471
cl_skip();
7572

76-
cl_git_fail_with(GIT_ECERTIFICATE,
77-
git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
78-
cl_git_fail_with(GIT_ECERTIFICATE,
79-
git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", &opts));
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));
8075
}

0 commit comments

Comments
 (0)