Properly initialize buf

This commit is contained in:
Paul Bakker 2014-08-04 12:12:09 +02:00
parent 21e081b068
commit 333fdeca3a

View file

@ -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 );