-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ssl/tls1.c: If underlying stream returned EAGAIN, return SSL_EAGAIN.
This helps better implement blocking vs non-blocking streams on top of axTLS (e.g. in MicroPython). Value of SSL_EAGAIN is -4, care was taken to make sure there's no TLS alert with value of 4 (because axTLS returns negated alert values as errors).
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
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