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
50662c9c
Commit
50662c9c
authored
3 years ago
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Guard TLS1_3_VERSION
parent
addd614e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
src/shrpx_tls.cc
src/shrpx_tls.cc
+2
-0
No files found.
src/shrpx_tls.cc
View file @
50662c9c
...
...
@@ -560,11 +560,13 @@ int ticket_key_cb(SSL *ssl, unsigned char *key_name, unsigned char *iv,
nullptr
);
EVP_DecryptInit_ex
(
ctx
,
key
.
cipher
,
nullptr
,
key
.
data
.
enc_key
.
data
(),
iv
);
#ifdef TLS1_3_VERSION
// If ticket_key_cb is not set, OpenSSL always renew ticket for
// TLSv1.3.
if
(
SSL_version
(
ssl
)
==
TLS1_3_VERSION
)
{
return
2
;
}
#endif // TLS1_3_VERSION
return
i
==
0
?
1
:
2
;
}
...
...
This diff is collapsed.
Click to expand it.
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