summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Thomson <ethomson@edwardthomson.com>2020-12-14 17:47:24 +0000
committerGitHub <noreply@github.com>2020-12-14 17:47:24 +0000
commit4ab9567f6968f3cdd58ad260ba7782b6e46ca02e (patch)
tree4e59ad57f677ca533b3f57a83a37b3e28b9beccd
parentd185ab24af9498cfce524e53bb82229079ad2af5 (diff)
parent589b8129e065b0bcfdbb7c4eee815b6e149218bc (diff)
downloadlibgit2-4ab9567f6968f3cdd58ad260ba7782b6e46ca02e.tar.gz
Merge pull request #4418 from libgit2/cmn/rc4
Re-enable the RC4 test
-rw-r--r--tests/online/badssl.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/tests/online/badssl.c b/tests/online/badssl.c
index 6524fcd8e..6735e9cdb 100644
--- a/tests/online/badssl.c
+++ b/tests/online/badssl.c
@@ -67,14 +67,9 @@ void test_online_badssl__old_cipher(void)
git_clone_options opts = GIT_CLONE_OPTIONS_INIT;
opts.fetch_opts.callbacks.certificate_check = cert_check_assert_invalid;
- /* FIXME: we don't actually reject RC4 anywhere, figure out what to tweak */
- cl_skip();
-
if (!g_has_ssl)
cl_skip();
- cl_git_fail_with(GIT_ECERTIFICATE,
- git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
- cl_git_fail_with(GIT_ECERTIFICATE,
- git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", &opts));
+ cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", NULL));
+ cl_git_fail(git_clone(&g_repo, "https://rc4.badssl.com/fake.git", "./fake", &opts));
}