aboutsummaryrefslogtreecommitdiff
path: root/src/httpserver.h
diff options
context:
space:
mode:
authorTim Ruffing <[email protected]>2019-06-05 22:43:28 +0200
committerTim Ruffing <[email protected]>2019-06-06 11:49:11 +0200
commitcac30a436cab3641bba3b774d3d3ddbc426e7908 (patch)
tree9aaee7a038f9753f347f8ad843efcf96d355f85b /src/httpserver.h
parentMerge #16144: wallet: do not encrypt wallets with disabled private keys (diff)
downloaddiscoin-cac30a436cab3641bba3b774d3d3ddbc426e7908.tar.xz
discoin-cac30a436cab3641bba3b774d3d3ddbc426e7908.zip
Clean up logic in memory_cleanse() for MSVC
Commit fbf327b13868861c2877c5754caf5a9816f2603c ("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.
Diffstat (limited to 'src/httpserver.h')
0 files changed, 0 insertions, 0 deletions