Introduced entropy_free()

This commit is contained in:
Paul Bakker 2013-09-28 15:23:03 +02:00
parent c55988406f
commit 1ffefaca1e
28 changed files with 38 additions and 0 deletions

View file

@ -277,6 +277,7 @@ exit:
x509_crt_free( &cacert );
net_close( server_fd );
ssl_free( &ssl );
entropy_free( &entropy );
memset( &ssl, 0, sizeof( ssl ) );

View file

@ -913,6 +913,7 @@ exit:
#endif
ssl_session_free( &saved_session );
ssl_free( &ssl );
entropy_free( &entropy );
memset( &ssl, 0, sizeof( ssl ) );

View file

@ -361,6 +361,7 @@ exit:
x509_crt_free( &srvcert );
pk_free( &pkey );
ssl_free( &ssl );
entropy_free( &entropy );
#if defined(_WIN32)
printf( " Press Enter to exit this program.\n" );

View file

@ -791,6 +791,7 @@ exit:
x509_crt_free( &cacert );
pk_free( &pkey );
ssl_free( &ssl );
entropy_free( &entropy );
#if defined(_WIN32)
printf( " + Press Enter to exit this program.\n" );

View file

@ -367,6 +367,7 @@ exit:
#if defined(POLARSSL_SSL_CACHE_C)
ssl_cache_free( &cache );
#endif
entropy_free( &entropy );
#if defined(_WIN32)
printf( " Press Enter to exit this program.\n" );

View file

@ -963,6 +963,7 @@ exit:
#endif
ssl_free( &ssl );
entropy_free( &entropy );
#if defined(POLARSSL_SSL_CACHE_C)
ssl_cache_free( &cache );