From 9529b96a9a575b77bad46f7d3289a839385b4419 Mon Sep 17 00:00:00 2001 From: Andy Ragusa Date: Thu, 6 Jun 2024 08:38:17 -0700 Subject: [PATCH] blah --- libclamav/ole2_extract.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/libclamav/ole2_extract.c b/libclamav/ole2_extract.c index e489d859b4..cf79ed0660 100644 --- a/libclamav/ole2_extract.c +++ b/libclamav/ole2_extract.c @@ -2569,7 +2569,6 @@ static bool initialize_encryption_key( size_t idx = 0; encryption_key_t key; bool bAES = false; - //const char * jsonKey = NULL; encryption_info_stream_standard_t encryptionInfo = {0}; uint16_t *encryptionInfo_CSPName = NULL; @@ -2748,9 +2747,6 @@ static bool initialize_encryption_key( goto done; } - /*Only want jsonKey to add encryption information if it is NOT encrypted with VelvetSweatshop, - * since that will be added either way. - */ memcpy(encryptionKey, &key, sizeof(encryption_key_t)); bRet = true; done: