Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sanity-check CSTP and DTLS rekey times
Just set REKEY_NONE if the rekey time is zero or negative, so that we don't need to test (ka->rekey && ka->rekey_method != REKEY_NONE) in multiple locations. Signed-off-by: Kevin Cernekee <cernekee@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
- Loading branch information
Showing
2 changed files
with
5 additions
and
0 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