mirror of
https://github.com/roytam1/mozilla45esr.git
synced 2026-05-26 06:25:03 +00:00
import from UXP: [NSS] Bug 1899402 - Correctly destroy bulkkey in error scenario. r=jschanck (e8252090)
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user