From 3dffe71b72c3b5dd1246ed74ee4cd1ad89aaccfa Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Sat, 25 Nov 2017 14:50:15 +0000 Subject: new wipeable_string class to replace std::string passphrases --- tests/unit_tests/http.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/unit_tests/http.cpp b/tests/unit_tests/http.cpp index 8d8a0965e..135c0984e 100644 --- a/tests/unit_tests/http.cpp +++ b/tests/unit_tests/http.cpp @@ -211,7 +211,7 @@ std::string get_a1(const http::login& user, const fields& src) { const std::string& realm = src.at(u8"realm"); return boost::join( - std::vector{user.username, realm, user.password}, u8":" + std::vector{user.username, realm, std::string(user.password.data(), user.password.size())}, u8":" ); } -- cgit v1.2.3