Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4ab9567f
Unverified
Commit
4ab9567f
authored
Dec 14, 2020
by
Edward Thomson
Committed by
GitHub
Dec 14, 2020
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4418 from libgit2/cmn/rc4
Re-enable the RC4 test
parents
d185ab24
589b8129
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
7 deletions
+2
-7
tests/online/badssl.c
+2
-7
No files found.
tests/online/badssl.c
View file @
4ab9567f
...
...
@@ -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
));
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment