From 065039da1f83d0fe5b74d3b33be6d48e19d78d7f Mon Sep 17 00:00:00 2001 From: practicalswift Date: Sat, 22 Jul 2017 23:52:57 +0200 Subject: [PATCH] =?UTF-8?q?[tests]=20Fix=20incorrect=20memory=5Fcleanse(?= =?UTF-8?q?=E2=80=A6)=20call=20in=20crypto=5Ftests.cpp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chKey and chIV are pointers, not arrays :-) Probably the result of copy-pasting of old code which was operating on arrays instead of pointers. --- src/wallet/test/crypto_tests.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wallet/test/crypto_tests.cpp b/src/wallet/test/crypto_tests.cpp index 524a72c30..744063624 100644 --- a/src/wallet/test/crypto_tests.cpp +++ b/src/wallet/test/crypto_tests.cpp @@ -26,8 +26,8 @@ bool OldSetKeyFromPassphrase(const SecureString& strKeyData, const std::vector