mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-24 18:16:24 +01:00
actually reset encryption context when freeing
This commit is contained in:
parent
e229df0a7c
commit
7a22b3052a
@ -455,7 +455,7 @@ DWORD free_encryption_context(Remote* remote)
|
||||
DWORD result = ERROR_SUCCESS;
|
||||
|
||||
dprintf("[ENC] Freeing encryption context %p", remote->enc_ctx);
|
||||
if (remote->enc_ctx != NULL);
|
||||
if (remote->enc_ctx != NULL)
|
||||
{
|
||||
dprintf("[ENC] Encryption context not null, so ditching AES key %ul", remote->enc_ctx->aes_key);
|
||||
if (remote->enc_ctx->aes_key != 0)
|
||||
|
Loading…
x
Reference in New Issue
Block a user