commit | 8cfd9d8c599c97b6d8cc60c5934d6e25780cfa58 | [log] [tgz] |
---|---|---|
author | Paul Bakker <p.j.bakker@polarssl.org> | Wed Jun 18 11:16:11 2014 +0200 |
committer | Paul Bakker <p.j.bakker@polarssl.org> | Wed Jul 09 10:19:23 2014 +0200 |
tree | 5fbfe993e7ec623ef19a86c990c225f37473a617 | |
parent | c7ea99af4f62690cb7f5af05d92b8af24e097db4 [diff] [blame] |
Adapt programs / test suites to _init() and _free()
diff --git a/programs/pkey/dh_client.c b/programs/pkey/dh_client.c index 154f5e3..92c5bca 100644 --- a/programs/pkey/dh_client.c +++ b/programs/pkey/dh_client.c
@@ -84,6 +84,8 @@ memset( &rsa, 0, sizeof( rsa ) ); memset( &dhm, 0, sizeof( dhm ) ); + aes_init( &aes ); + /* * 1. Setup the RNG */ @@ -279,6 +281,7 @@ if( server_fd != -1 ) net_close( server_fd ); + aes_free( &aes ); rsa_free( &rsa ); dhm_free( &dhm ); entropy_free( &entropy );