Merge ea682b8756d4358b0138145d3ceadf55661dae67 into 03e1438089654fb884ac48e0f3cd0049cfe2c102

This commit is contained in:
YAMAMOTO Takashi 2026-10-27 20:06:06 +00:00 committed by GitHub
commit 41250afb7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5300,6 +5300,9 @@ size_t mbedtls_ssl_get_bytes_avail(const mbedtls_ssl_context *ssl)
int mbedtls_ssl_check_pending(const mbedtls_ssl_context *ssl)
{
if( ssl == NULL || ssl->conf == NULL )
return( MBEDTLS_ERR_SSL_BAD_INPUT_DATA );
/*
* Case A: We're currently holding back
* a message for further processing.