mirror of
https://github.com/matrix-construct/construct
synced 2024-11-19 16:30:52 +01:00
mbedtls backend: indicate reason for TLS session termination
[ci skip]
This commit is contained in:
parent
00653c77cd
commit
499612f19e
1 changed files with 1 additions and 1 deletions
|
@ -387,7 +387,7 @@ rb_ssl_read_or_write(bool do_read, rb_fde_t *F, void *rbuf, const void *wbuf, si
|
||||||
default:
|
default:
|
||||||
F->ssl_errno = ret;
|
F->ssl_errno = ret;
|
||||||
errno = EIO;
|
errno = EIO;
|
||||||
return RB_RW_IO_ERROR;
|
return RB_RW_SSL_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue