don't copy buffer to ifself

This commit is contained in:
orignal 2018-08-09 16:32:43 -04:00
parent f7e4afc282
commit d320a89590

View file

@ -1036,6 +1036,7 @@ namespace crypto
}
}
// encrypt/decrypt data and add to hash
if (buf != msg)
memcpy (buf, msg, msgLen);
if (encrypt)
{