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
90b5a585
Commit
90b5a585
authored
Dec 04, 2015
by
Sunpoet Po-Chuan Hsieh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build when OpenSSL 1.0.2 is not available
parent
a151a44c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/asio_common.cc
src/asio_common.cc
+2
-0
No files found.
src/asio_common.cc
View file @
90b5a585
...
@@ -177,9 +177,11 @@ bool tls_h2_negotiated(ssl_socket &socket) {
...
@@ -177,9 +177,11 @@ bool tls_h2_negotiated(ssl_socket &socket) {
unsigned
int
next_proto_len
=
0
;
unsigned
int
next_proto_len
=
0
;
SSL_get0_next_proto_negotiated
(
ssl
,
&
next_proto
,
&
next_proto_len
);
SSL_get0_next_proto_negotiated
(
ssl
,
&
next_proto
,
&
next_proto_len
);
#if OPENSSL_VERSION_NUMBER >= 0x10002000L
if
(
next_proto
==
nullptr
)
{
if
(
next_proto
==
nullptr
)
{
SSL_get0_alpn_selected
(
ssl
,
&
next_proto
,
&
next_proto_len
);
SSL_get0_alpn_selected
(
ssl
,
&
next_proto
,
&
next_proto_len
);
}
}
#endif // OPENSSL_VERSION_NUMBER >= 0x10002000L
if
(
next_proto
==
nullptr
)
{
if
(
next_proto
==
nullptr
)
{
return
false
;
return
false
;
...
...
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