diff options
| author | Luke Dashjr <[email protected]> | 2012-11-14 21:26:56 +0000 |
|---|---|---|
| committer | Luke Dashjr <[email protected]> | 2012-11-14 21:26:56 +0000 |
| commit | f1a9aad7893173b0351ad32e684dad6f31598210 (patch) | |
| tree | 21373860cc7f22da72e28d97263813f53e450920 /src/util.cpp | |
| parent | No need for test fixture now that multisig is enabled on main network. (diff) | |
| parent | Merge branch '0.5.x' into 0.6.0.x (diff) | |
| download | discoin-f1a9aad7893173b0351ad32e684dad6f31598210.tar.xz discoin-f1a9aad7893173b0351ad32e684dad6f31598210.zip | |
Merge branch '0.6.0.x' into 0.6.x
Conflicts:
src/init.cpp
src/main.cpp
src/serialize.h
Diffstat (limited to 'src/util.cpp')
| -rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 8a2e0d65d..07319f0df 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -149,7 +149,7 @@ void RandAddSeedPerfmon() if (ret == ERROR_SUCCESS) { RAND_add(pdata, nSize, nSize/100.0); - memset(pdata, 0, nSize); + OPENSSL_cleanse(pdata, nSize); printf("%s RandAddSeed() %d bytes\n", DateTimeStrFormat("%x %H:%M", GetTime()).c_str(), nSize); } #endif |