diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-02-19 12:00:17 +0100 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-02-19 12:09:26 +0100 |
commit | 07f4386b387caddd82502d575cc9dba80b81d9f2 (patch) | |
tree | 65727039c39354977ca8b9007ed9e395cb089586 /src/base58.cpp | |
parent | ea98509fa5f76fac581a1d016c42c2407065e48d (diff) | |
parent | 1630219d906f592c9258bfe2a0e0c4923df35782 (diff) |
Merge #5689: openssl: abstract out OPENSSL_cleanse
1630219 openssl: abstract out OPENSSL_cleanse (Cory Fields)
Diffstat (limited to 'src/base58.cpp')
-rw-r--r-- | src/base58.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/base58.cpp b/src/base58.cpp index 980d3cbf42..c809185056 100644 --- a/src/base58.cpp +++ b/src/base58.cpp @@ -172,7 +172,7 @@ bool CBase58Data::SetString(const char* psz, unsigned int nVersionBytes) vchData.resize(vchTemp.size() - nVersionBytes); if (!vchData.empty()) memcpy(&vchData[0], &vchTemp[nVersionBytes], vchData.size()); - OPENSSL_cleanse(&vchTemp[0], vchData.size()); + memory_cleanse(&vchTemp[0], vchData.size()); return true; } |