Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Tor Project
Core
Tor
Commits
22b9caf0
Commit
22b9caf0
authored
10 years ago
by
Nick Mathewson
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/maint-0.2.4' into maint-0.2.5
parents
d315b8e8
943fd4a2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
changes/disable_sslv3
+4
-0
4 additions, 0 deletions
changes/disable_sslv3
src/common/tortls.c
+3
-1
3 additions, 1 deletion
src/common/tortls.c
with
7 additions
and
1 deletion
changes/disable_sslv3
0 → 100644
+
4
−
0
View file @
22b9caf0
o Major security fixes:
- Disable support for SSLv3. All versions of OpenSSL in use with
Tor today support TLS 1.0 or later, so we can safely turn off
support for this old (and insecure) protocol. Fixes bug 13426.
This diff is collapsed.
Click to expand it.
src/common/tortls.c
+
3
−
1
View file @
22b9caf0
...
...
@@ -1245,10 +1245,11 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned int key_lifetime,
goto error;
#endif
/* Tell OpenSSL to use
SSL3 or TLS1
but not SSL2. */
/* Tell OpenSSL to use
TLS 1.0 or later
but not SSL2
or SSL3
. */
if
(
!
(
result
->
ctx
=
SSL_CTX_new
(
SSLv23_method
())))
goto
error
;
SSL_CTX_set_options
(
result
->
ctx
,
SSL_OP_NO_SSLv2
);
SSL_CTX_set_options
(
result
->
ctx
,
SSL_OP_NO_SSLv3
);
/* Prefer the server's ordering of ciphers: the client's ordering has
* historically been chosen for fingerprinting resistance. */
...
...
@@ -1287,6 +1288,7 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned int key_lifetime,
}
#endif
/* XXX This block is now obsolete. */
if
(
#ifdef DISABLE_SSL3_HANDSHAKE
1
||
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment