Skip to content

Commit

Permalink
blah
Browse files Browse the repository at this point in the history
  • Loading branch information
ragusaa committed Jun 6, 2024
1 parent 0e1fa94 commit 9529b96
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions libclamav/ole2_extract.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand Down

0 comments on commit 9529b96

Please sign in to comment.