Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nick Mathewson
Tor
Commits
1e46a391
Commit
1e46a391
authored
Sep 07, 2018
by
Nick Mathewson
🐛
Browse files
Merge branch 'ticket27344_029' into maint-0.2.9
parents
9fcb3ef7
2ec88a2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
changes/bug27344
0 → 100644
View file @
1e46a391
o Minor features (compatibility):
- Tell OpenSSL to maintain backward compatibility with previous
RSA1024/DH1024 users in Tor. With OpenSSL 1.1.1-pre6, these ciphers
are disabled by default. Closes ticket 27344.
configure.ac
View file @
1e46a391
...
...
@@ -678,6 +678,7 @@ AC_CHECK_FUNCS([ \
SSL_get_client_ciphers \
SSL_get_client_random \
SSL_CIPHER_find \
SSL_CTX_set_security_level \
TLS_method
])
...
...
src/common/tortls.c
View file @
1e46a391
...
...
@@ -1130,6 +1130,11 @@ tor_tls_context_new(crypto_pk_t *identity, unsigned int key_lifetime,
if
(
!
(
result
->
ctx
=
SSL_CTX_new
(
SSLv23_method
())))
goto
error
;
#endif
#ifdef HAVE_SSL_CTX_SET_SECURITY_LEVEL
/* Level 1 re-enables RSA1024 and DH1024 for compatibility with old tors */
SSL_CTX_set_security_level
(
result
->
ctx
,
1
);
#endif
SSL_CTX_set_options
(
result
->
ctx
,
SSL_OP_NO_SSLv2
);
SSL_CTX_set_options
(
result
->
ctx
,
SSL_OP_NO_SSLv3
);
...
...
@@ -2555,4 +2560,3 @@ evaluate_ecgroup_for_tls(const char *ecgroup)
return
ret
;
}
Write
Preview
Supports
Markdown
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