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
7006bf04
Commit
7006bf04
authored
Dec 22, 2020
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Compile with the latest ngtcp2
parent
132cd21c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/h2load_quic.cc
src/h2load_quic.cc
+4
-3
No files found.
src/h2load_quic.cc
View file @
7006bf04
...
...
@@ -241,8 +241,9 @@ int set_encryption_secrets(SSL *ssl, OSSL_ENCRYPTION_LEVEL ossl_level,
size_t
secret_len
)
{
auto
c
=
static_cast
<
Client
*>
(
SSL_get_app_data
(
ssl
));
if
(
c
->
quic_on_key
(
ngtcp2_crypto_from_ossl_encryption_level
(
ossl_level
),
rx_secret
,
tx_secret
,
secret_len
)
!=
0
)
{
if
(
c
->
quic_on_key
(
ngtcp2_crypto_openssl_from_ossl_encryption_level
(
ossl_level
),
rx_secret
,
tx_secret
,
secret_len
)
!=
0
)
{
return
0
;
}
...
...
@@ -255,7 +256,7 @@ int add_handshake_data(SSL *ssl, OSSL_ENCRYPTION_LEVEL ossl_level,
const
uint8_t
*
data
,
size_t
len
)
{
auto
c
=
static_cast
<
Client
*>
(
SSL_get_app_data
(
ssl
));
c
->
quic_write_client_handshake
(
ngtcp2_crypto_from_ossl_encryption_level
(
ossl_level
),
data
,
len
);
ngtcp2_crypto_
openssl_
from_ossl_encryption_level
(
ossl_level
),
data
,
len
);
return
1
;
}
}
// namespace
...
...
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