1
0
mirror of https://github.com/Mbed-TLS/mbedtls.git synced 2025-07-29 11:41:15 +03:00

- Set sane start values for structures that are closed or freed.

This commit is contained in:
Paul Bakker
2011-02-06 13:22:40 +00:00
parent 896b3be1d1
commit 1a207ec8af
3 changed files with 24 additions and 9 deletions

View File

@ -62,6 +62,7 @@ int main( void )
*/
havege_init( &hs );
memset( &ssn, 0, sizeof( ssl_session ) );
memset( &ssl, 0, sizeof( ssl_context ) );
/*
* 1. Start the connection