mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
[NSS] Bug 1899402 - Correctly destroy bulkkey in error scenario. r=jschanck
Differential Revision: https://phabricator.services.mozilla.com/D223837 --HG-- extra : rebase_source : d06a6bb8d51bb844c814c5ee682a1b24de3e2e69
This commit is contained in:
parent
857990d172
commit
e825209039
1 changed files with 1 additions and 0 deletions
|
|
@ -542,6 +542,7 @@ sec_pkcs7_decoder_start_decrypt(SEC_PKCS7DecoderContext *p7dcx, int depth,
|
|||
* We are done with (this) bulkkey now.
|
||||
*/
|
||||
PK11_FreeSymKey(bulkkey);
|
||||
bulkkey = NULL;
|
||||
|
||||
if (decryptobj == NULL) {
|
||||
p7dcx->error = PORT_GetError();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue