Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
53b5ffa1
Commit
53b5ffa1
authored
Aug 12, 2015
by
yuuki-kodama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Guard ecdh use with !OPENSSL_NO_EC @asio_server_tls_context.cc
parent
b384b76f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/asio_server_tls_context.cc
src/asio_server_tls_context.cc
+2
-0
No files found.
src/asio_server_tls_context.cc
View file @
53b5ffa1
...
...
@@ -61,11 +61,13 @@ configure_tls_context_easy(boost::system::error_code &ec,
SSL_CTX_set_cipher_list
(
ctx
,
ssl
::
DEFAULT_CIPHER_LIST
);
#ifndef OPENSSL_NO_EC
auto
ecdh
=
EC_KEY_new_by_curve_name
(
NID_X9_62_prime256v1
);
if
(
ecdh
)
{
SSL_CTX_set_tmp_ecdh
(
ctx
,
ecdh
);
EC_KEY_free
(
ecdh
);
}
#endif
/* OPENSSL_NO_EC */
SSL_CTX_set_next_protos_advertised_cb
(
ctx
,
...
...
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