commit | 98e28a74e33f32bcb855e16f8d5d2016b2102129 | [log] [tgz] |
---|---|---|
author | Janos Follath <janos.follath@arm.com> | Tue May 31 14:03:54 2016 +0100 |
committer | Simon Butcher <simon.butcher@arm.com> | Thu Jun 09 13:41:28 2016 +0100 |
tree | abd3b82b6139be155d32ccb689d26bdf35cd56c5 | |
parent | f991128d40cfca5b585130702d630c12625dcc61 [diff] [blame] |
Address user reported coverity issues.
diff --git a/programs/pkey/dh_client.c b/programs/pkey/dh_client.c index 230bf4d..8ebf34a 100644 --- a/programs/pkey/dh_client.c +++ b/programs/pkey/dh_client.c
@@ -125,6 +125,7 @@ ( ret = mbedtls_mpi_read_file( &rsa.E, 16, f ) ) != 0 ) { mbedtls_printf( " failed\n ! mbedtls_mpi_read_file returned %d\n\n", ret ); + fclose( f ); goto exit; }