Merge branch 'datagram_packing' into message_reordering
This commit is contained in:
commit
1b20e8e46e
1 changed files with 1 additions and 1 deletions
|
@ -3375,7 +3375,7 @@ int mbedtls_ssl_write_record( mbedtls_ssl_context *ssl, uint8_t force_flush )
|
|||
* the remaining space in the datagram. */
|
||||
if( ssl->conf->transport == MBEDTLS_SSL_TRANSPORT_DATAGRAM )
|
||||
{
|
||||
ret = ssl_get_maximum_datagram_size( ssl );
|
||||
ret = ssl_get_remaining_space_in_datagram( ssl );
|
||||
if( ret < 0 )
|
||||
return( ret );
|
||||
|
||||
|
|
Loading…
Reference in a new issue