-
Notifications
You must be signed in to change notification settings - Fork 712
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: Fix redundant code #4504
fix: Fix redundant code #4504
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we're doing this setup in the extended master secret test as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice! :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yay for cleaner code 🥳
Resolved issues:
Resolves issue #4500 described here.
Description of changes:
Reducing redundant code by calling s2n_resumption_test_ticket_key_setup for test cases that manually sets the same ticket key.
Call-outs:
Testing:
Confirmed all unit tests passes by running
CTEST_PARALLEL_LEVEL=$(nproc) ctest --test-dir build
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.