mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2025-03-28 19:21:08 +00:00
Properly initialize buf
This commit is contained in:
parent
21e081b068
commit
333fdeca3a
@ -375,6 +375,7 @@ int main( int argc, char *argv[] )
|
|||||||
*/
|
*/
|
||||||
server_fd = 0;
|
server_fd = 0;
|
||||||
memset( &ssl, 0, sizeof( ssl_context ) );
|
memset( &ssl, 0, sizeof( ssl_context ) );
|
||||||
|
memset( &buf, 0, sizeof( buf ) );
|
||||||
x509_crt_init( &cacert );
|
x509_crt_init( &cacert );
|
||||||
x509_crt_init( &clicert );
|
x509_crt_init( &clicert );
|
||||||
pk_init( &pkey );
|
pk_init( &pkey );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user