mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-10-28 18:07:34 +08:00
Merge ea682b8756d4358b0138145d3ceadf55661dae67 into 03e1438089654fb884ac48e0f3cd0049cfe2c102
This commit is contained in:
commit
41250afb7d
@ -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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user