mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-27 13:04:16 +01:00
Cleaner initialization (values did not matter, but were uninitialized)
This commit is contained in:
parent
a2eabadb07
commit
d6d1f410e6
@ -287,6 +287,7 @@ 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++ )
|
||||
|
@ -125,6 +125,7 @@ int main( int argc, char *argv[] )
|
||||
((void) argv);
|
||||
|
||||
memset( buf, 0xAA, sizeof( buf ) );
|
||||
memset( tmp, 0xBB, sizeof( tmp ) );
|
||||
|
||||
printf( "\n" );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user