mbedtls backend: indicate reason for TLS session termination
[ci skip]
This commit is contained in:
parent
82ce2ab4da
commit
e719e46d27
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ rb_ssl_read_or_write(int r_or_w, rb_fde_t *F, void *rbuf, const void *wbuf, size
|
|||
default:
|
||||
F->ssl_errno = ret;
|
||||
errno = EIO;
|
||||
return RB_RW_IO_ERROR;
|
||||
return RB_RW_SSL_ERROR;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue