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/pk_sign.c b/programs/pkey/pk_sign.c index 322e8af..daf08a9 100644 --- a/programs/pkey/pk_sign.c +++ b/programs/pkey/pk_sign.c
@@ -142,6 +142,7 @@ if( fwrite( buf, 1, olen, f ) != olen ) { mbedtls_printf( "failed\n ! fwrite failed\n\n" ); + fclose( f ); goto exit; }