mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-07-30 16:26:33 +08:00
Merge e608ce9b1d00009ae34f835ea8d778e47018703d into 3bb373867917b674265067cbd38b9d252c43d014
This commit is contained in:
commit
220cefdf37
@ -4092,7 +4092,9 @@ int mbedtls_ssl_read_record(mbedtls_ssl_context *ssl,
|
||||
MBEDTLS_ERR_SSL_CONTINUE_PROCESSING == ret);
|
||||
|
||||
if (0 != ret) {
|
||||
MBEDTLS_SSL_DEBUG_RET(1, ("mbedtls_ssl_handle_message_type"), ret);
|
||||
if (ret != MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) {
|
||||
MBEDTLS_SSL_DEBUG_RET(1, ("mbedtls_ssl_handle_message_type"), ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
@ -5719,8 +5721,9 @@ int mbedtls_ssl_read(mbedtls_ssl_context *ssl, unsigned char *buf, size_t len)
|
||||
if (ret == MBEDTLS_ERR_SSL_CONN_EOF) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
MBEDTLS_SSL_DEBUG_RET(1, "mbedtls_ssl_read_record", ret);
|
||||
if (ret != MBEDTLS_ERR_SSL_PEER_CLOSE_NOTIFY) {
|
||||
MBEDTLS_SSL_DEBUG_RET(1, "mbedtls_ssl_read_record", ret);
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user