mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-01-11 04:35:33 +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…
Reference in a new issue