Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Marvin Scholz
Icecast-Server
Commits
a3b50bea
Commit
a3b50bea
authored
Nov 03, 2014
by
Philipp Schafft
🦁
Browse files
applied patch to disable SSLv3 and SSL compression explicitly (close #2071)
svn path=/icecast/trunk/icecast/; revision=19263
parent
c4d9eaa0
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/connection.c
View file @
a3b50bea
...
...
@@ -204,7 +204,11 @@ static void get_ssl_certificate (ice_config_t *config)
method
=
SSLv23_server_method
();
ssl_ctx
=
SSL_CTX_new
(
method
);
ssl_opts
=
SSL_CTX_get_options
(
ssl_ctx
);
SSL_CTX_set_options
(
ssl_ctx
,
ssl_opts
|
SSL_OP_NO_SSLv2
);
#ifdef SSL_OP_NO_COMPRESSION
SSL_CTX_set_options
(
ssl_ctx
,
ssl_opts
|
SSL_OP_NO_SSLv2
|
SSL_OP_NO_SSLv3
|
SSL_OP_NO_COMPRESSION
);
#else
SSL_CTX_set_options
(
ssl_ctx
,
ssl_opts
|
SSL_OP_NO_SSLv2
|
SSL_OP_NO_SSLv3
);
#endif
do
{
...
...
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