Properly initialize buf
This commit is contained in:
parent
21e081b068
commit
333fdeca3a
1 changed files with 1 additions and 0 deletions
|
@ -375,6 +375,7 @@ int main( int argc, char *argv[] )
|
|||
*/
|
||||
server_fd = 0;
|
||||
memset( &ssl, 0, sizeof( ssl_context ) );
|
||||
memset( &buf, 0, sizeof( buf ) );
|
||||
x509_crt_init( &cacert );
|
||||
x509_crt_init( &clicert );
|
||||
pk_init( &pkey );
|
||||
|
|
Loading…
Reference in a new issue