mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-21 21:31:11 +00:00
Merge remote-tracking branch 'public/pr/1298' into mbedtls-2.1-proposed
This commit is contained in:
commit
4acdf6dea8
|
@ -506,6 +506,8 @@ Bugfix
|
|||
Vranken.
|
||||
* Fix a numerical underflow leading to stack overflow in mpi_read_file()
|
||||
that was triggered uppon reading an empty line. Found by Guido Vranken.
|
||||
* Fix programs/pkey/dh_server.c so that it actually works with dh_client.c.
|
||||
Found and fixed by Martijn de Milliano.
|
||||
|
||||
Changes
|
||||
* Clarify ECDSA documentation and improve the sample code to avoid
|
||||
|
|
|
@ -229,6 +229,7 @@ int main( void )
|
|||
|
||||
memset( buf, 0, sizeof( buf ) );
|
||||
|
||||
n = dhm.len;
|
||||
if( ( ret = mbedtls_net_recv( &client_fd, buf, n ) ) != (int) n )
|
||||
{
|
||||
mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret );
|
||||
|
|
Loading…
Reference in a new issue