-
Notifications
You must be signed in to change notification settings - Fork 724
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Send zero-length NST when session key is expired (#4532)
* send zero-length NST when session key is expired * add another to test the impact on tls 1.3 path * check if tls1.3 is fully supported * use shorter variable names * modify test setups * address comment * add compliance comments * add unit test for s2n_server_send * address clang format issues * edit rfc comment format * fix rfc number * remove unnecessary expect_false() * add test case for sending non-zero nst * use suggested comment Co-authored-by: maddeleine <[email protected]> * remove unnecessary test case * check all data is read * give better test description * add compliance comment to the test * fix comment format * verify ticket length and and lifetime hint is 0 * fix input orders * address PR feedbacks * send zero-length nst upon failing to retrieve encrypt key * address linter issue * address redundant code * remove unnecessary test setup * change return value to S2N_SUCCESS * remove unnecessary #define Co-authored-by: Lindsay Stewart <[email protected]> --------- Co-authored-by: maddeleine <[email protected]> Co-authored-by: Lindsay Stewart <[email protected]>
- Loading branch information
1 parent
15311dc
commit 885b607
Showing
4 changed files
with
136 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters