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
97d8bb16
Commit
97d8bb16
authored
Jun 25, 2016
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Update doc
parent
3e14f0d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/shrpx_ssl.cc
src/shrpx_ssl.cc
+4
-4
No files found.
src/shrpx_ssl.cc
View file @
97d8bb16
...
...
@@ -1373,10 +1373,10 @@ SSL_CTX *setup_server_ssl_context(std::vector<SSL_CTX *> &all_ssl_ctx,
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
auto
cert
=
SSL_CTX_get0_certificate
(
ssl_ctx
);
#else
#else
// OPENSSL_VERSION_NUMBER < 0x10002000L
auto
cert
=
load_certificate
(
tlsconf
.
cert_file
.
c_str
());
auto
cert_deleter
=
defer
(
X509_free
,
cert
);
#endif
#endif
// OPENSSL_VERSION_NUMBER < 0x10002000L
if
(
ssl
::
cert_lookup_tree_add_cert_from_x509
(
cert_tree
,
all_ssl_ctx
.
size
()
-
1
,
cert
)
==
-
1
)
{
...
...
@@ -1399,10 +1399,10 @@ SSL_CTX *setup_server_ssl_context(std::vector<SSL_CTX *> &all_ssl_ctx,
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
auto
cert
=
SSL_CTX_get0_certificate
(
ssl_ctx
);
#else
#else
// OPENSSL_VERSION_NUMBER < 0x10002000L
auto
cert
=
load_certificate
(
cert_file
.
c_str
());
auto
cert_deleter
=
defer
(
X509_free
,
cert
);
#endif
#endif
// OPENSSL_VERSION_NUMBER < 0x10002000L
if
(
ssl
::
cert_lookup_tree_add_cert_from_x509
(
cert_tree
,
all_ssl_ctx
.
size
()
-
1
,
cert
)
==
-
1
)
{
...
...
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