mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-25 15:11:20 +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.
|
Vranken.
|
||||||
* Fix a numerical underflow leading to stack overflow in mpi_read_file()
|
* Fix a numerical underflow leading to stack overflow in mpi_read_file()
|
||||||
that was triggered uppon reading an empty line. Found by Guido Vranken.
|
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
|
Changes
|
||||||
* Clarify ECDSA documentation and improve the sample code to avoid
|
* Clarify ECDSA documentation and improve the sample code to avoid
|
||||||
|
|
|
@ -229,6 +229,7 @@ int main( void )
|
||||||
|
|
||||||
memset( buf, 0, sizeof( buf ) );
|
memset( buf, 0, sizeof( buf ) );
|
||||||
|
|
||||||
|
n = dhm.len;
|
||||||
if( ( ret = mbedtls_net_recv( &client_fd, buf, n ) ) != (int) n )
|
if( ( ret = mbedtls_net_recv( &client_fd, buf, n ) ) != (int) n )
|
||||||
{
|
{
|
||||||
mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret );
|
mbedtls_printf( " failed\n ! mbedtls_net_recv returned %d\n\n", ret );
|
||||||
|
|
Loading…
Reference in a new issue