Go to file
David Benjamin 9a38e924aa Return SSL_ERROR_SYSCALL on unclean EOF.
This regressed in fcf25833bc. 0 return code on
unclean shutdown means the underlying BIO returned EOF, didn't push any error
code, but we haven't seen close_notify yet. The intent seems to be that you go
check errno or some BIO-specific equivalent if you care about close_notify.

Make sure test code routes all SSL_read return codes through SSL_get_error
since that's supposed to work in all cases.

(Note that rv == 0 can still give SSL_ERROR_SSL if the error queue is not
empty.)

Change-Id: I45bf9614573f876d93419ce169a4e0d9ceea9052
Reviewed-on: https://boringssl-review.googlesource.com/2981
Reviewed-by: Adam Langley <agl@google.com>
2015-01-22 22:01:35 +00:00
crypto Remove support for passing a C-String to PKCS5_PBKDF2_HMAC*(). 2015-01-20 23:44:05 +00:00
doc Inital import. 2014-06-20 13:17:32 -07:00
include/openssl Add dummy variables to keep wpa_supplicant happy. 2015-01-22 19:27:30 +00:00
ssl Return SSL_ERROR_SYSCALL on unclean EOF. 2015-01-22 22:01:35 +00:00
tool Fix tool build on Windows. 2015-01-22 19:22:39 +00:00
util aarch64 support. 2015-01-14 23:38:11 +00:00
.clang-format Inital import. 2014-06-20 13:17:32 -07:00
.gitignore Inital import. 2014-06-20 13:17:32 -07:00
BUILDING Build with yasm on Win64 as well. 2014-10-31 22:02:45 +00:00
CMakeLists.txt Only use -Wshadow with GCC > 4.6.0. 2015-01-21 00:27:26 +00:00
codereview.settings Add a codereview.settings file. 2014-11-18 22:21:33 +00:00