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
aebd8377
Commit
aebd8377
authored
May 23, 2020
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile latest ngtcp2 crypto lib
parent
c7736c2a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/h2load_quic.cc
src/h2load_quic.cc
+4
-4
No files found.
src/h2load_quic.cc
View file @
aebd8377
...
...
@@ -52,8 +52,8 @@ int recv_crypto_data(ngtcp2_conn *conn, ngtcp2_crypto_level crypto_level,
int
Client
::
quic_recv_crypto_data
(
ngtcp2_crypto_level
crypto_level
,
const
uint8_t
*
data
,
size_t
datalen
)
{
return
ngtcp2_crypto_read_write_crypto_data
(
quic
.
conn
,
ssl
,
crypto_level
,
data
,
data
len
);
return
ngtcp2_crypto_read_write_crypto_data
(
quic
.
conn
,
crypto_level
,
data
,
datalen
);
}
namespace
{
...
...
@@ -426,7 +426,7 @@ void Client::quic_close_connection() {
int
Client
::
quic_on_key
(
ngtcp2_crypto_level
level
,
const
uint8_t
*
rx_secret
,
const
uint8_t
*
tx_secret
,
size_t
secretlen
)
{
if
(
ngtcp2_crypto_derive_and_install_rx_key
(
quic
.
conn
,
ssl
,
nullptr
,
nullptr
,
if
(
ngtcp2_crypto_derive_and_install_rx_key
(
quic
.
conn
,
nullptr
,
nullptr
,
nullptr
,
level
,
rx_secret
,
secretlen
)
!=
0
)
{
std
::
cerr
<<
"ngtcp2_crypto_derive_and_install_rx_key() failed"
...
...
@@ -434,7 +434,7 @@ int Client::quic_on_key(ngtcp2_crypto_level level, const uint8_t *rx_secret,
return
-
1
;
}
if
(
ngtcp2_crypto_derive_and_install_tx_key
(
quic
.
conn
,
ssl
,
nullptr
,
nullptr
,
if
(
ngtcp2_crypto_derive_and_install_tx_key
(
quic
.
conn
,
nullptr
,
nullptr
,
nullptr
,
level
,
tx_secret
,
secretlen
)
!=
0
)
{
std
::
cerr
<<
"ngtcp2_crypto_derive_and_install_tx_key() failed"
...
...
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