-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add tests for untested assumptions. (#53)
Motivation: While working on an unwrapping patch, I wrote a few tests to provide an envelope on the unwrapping behaviour in OpenSSL. Some of these tests should have counterparts for closure, but do not. This patch brings the equivalent tests forward. Modifications: - Tested the failure mode when receiving gibberish instead of CLOSE_NOTIFY. - Tested what happens to writes that are flushed after close(). Result: Better test coverage.
- Loading branch information
Showing
2 changed files
with
117 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