mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2024-11-22 11:25:42 +01:00
Fix file leak in test program
A similar bug was fixed earlier in ssl_server2, but we missed the fix in ssl_client2.
This commit is contained in:
parent
b08e44fda7
commit
2ac4d86040
@ -619,6 +619,7 @@ static int nss_keylog_export( void *p_expkey,
|
||||
if( fwrite( nss_keylog_line, 1, len, f ) != len )
|
||||
{
|
||||
ret = -1;
|
||||
fclose( f );
|
||||
goto exit;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user