pkcs12: Make sure to wipe potentially decrypted PKCS#7 data
This commit is contained in:
1 parent
b4694aef49
commit
bbbd15dd5c
1 file changed
+2
-2
@@ -307,10 +307,10 @@ static bool parse_authenticated_safe(private_pkcs12_t *this, chunk_t blob)
|
||||
if (!parse_safe_contents(this, parser->get_level(parser)+1,
|
||||
data))
|
||||
{
|
||||
chunk_free(&data);
|
||||
chunk_clear(&data);
|
||||
goto end;
|
||||
}
|
||||
chunk_free(&data);
|
||||
chunk_clear(&data);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user