mbedtls backend: indicate reason for TLS session termination

[ci skip]
This commit is contained in:
Aaron Jones 2016-06-12 11:33:06 +00:00
parent 00653c77cd
commit 499612f19e
No known key found for this signature in database
GPG key ID: 6E854C0FAAD4CEA4

View file

@ -387,7 +387,7 @@ rb_ssl_read_or_write(bool do_read, rb_fde_t *F, void *rbuf, const void *wbuf, si
default:
F->ssl_errno = ret;
errno = EIO;
return RB_RW_IO_ERROR;
return RB_RW_SSL_ERROR;
}
}