mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-26 11:05:47 +01:00
dh_server: Fixed expected number of bytes received from client when receiving public value.
This commit is contained in:
parent
5273182a20
commit
8f96fb2141
@ -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 New Issue
Block a user