mirror of
https://github.com/yuzu-emu/mbedtls
synced 2024-11-24 18:58:32 +00:00
Cleaner initialization (values did not matter, but were uninitialized)
This commit is contained in:
parent
030decdb4e
commit
df71dd1618
2 changed files with 2 additions and 0 deletions
|
@ -287,6 +287,7 @@ static int write_and_get_response( int sock_fd, unsigned char *buf, size_t len )
|
|||
return -1;
|
||||
}
|
||||
|
||||
data[len] = '\0';
|
||||
printf("\n%s", data);
|
||||
len = ret;
|
||||
for( i = 0; i < len; i++ )
|
||||
|
|
|
@ -222,6 +222,7 @@ int main( int argc, char *argv[] )
|
|||
printf( "\n" );
|
||||
|
||||
memset( buf, 0xAA, sizeof( buf ) );
|
||||
memset( tmp, 0xBB, sizeof( tmp ) );
|
||||
|
||||
#if defined(POLARSSL_MD4_C)
|
||||
if( todo.md4 )
|
||||
|
|
Loading…
Reference in a new issue