Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Clean up logic in memory_cleanse() for MSVC
Commit fbf327b ("Minimal code changes to allow msvc compilation.") was indeed minimal in terms of lines touched. But as a result of that minimalism it changed the logic in memory_cleanse() to first call std::memset() and then additionally the MSVC-specific SecureZeroMemory() function, and it also moved a comment to the wrong location. This commit removes the superfluous call to std::memset() on MSVC and ensures that the comment is in the right position again.
- Loading branch information