diff options
author | Matt Caswell <matt@openssl.org> | 2020-01-17 17:39:19 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-02-20 17:02:30 +0000 |
commit | db943f43a60d1b5b1277e4b5317e8f288e7a0a3a (patch) | |
tree | 3c1d49da92ec78d523eb16b39ec1f51cd79e4905 /crypto/bio/bss_fd.c | |
parent | b22a4996f38883e8376470597fef15a24cd8f535 (diff) |
Detect EOF while reading in libssl
If we hit an EOF while reading in libssl then we will report an error
back to the application (SSL_ERROR_SYSCALL) but errno will be 0. We add
an error to the stack (which means we instead return SSL_ERROR_SSL) and
therefore give a hint as to what went wrong.
Contains a partial fix for #10880
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
(Merged from https://github.com/openssl/openssl/pull/10882)
Diffstat (limited to 'crypto/bio/bss_fd.c')
0 files changed, 0 insertions, 0 deletions