aboutsummaryrefslogtreecommitdiff
path: root/src/common/password.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-02 22:39:56 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-02 22:39:57 +0200
commit66094dee00845dd8a7eefb0e73ed65d4b7a76d2e (patch)
treed7db90eb69beb278b7de01e920364581ee65ba6b /src/common/password.h
parentMerge pull request #4479 (diff)
parentwallet: fix --generate-from-json using wrong password (diff)
downloadmonero-66094dee00845dd8a7eefb0e73ed65d4b7a76d2e.tar.xz
Merge pull request #4482
25e5890d wallet: fix --generate-from-json using wrong password (moneromooo-monero)
Diffstat (limited to 'src/common/password.h')
-rw-r--r--src/common/password.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/password.h b/src/common/password.h
index 529881e40..beb98283b 100644
--- a/src/common/password.h
+++ b/src/common/password.h
@@ -47,6 +47,7 @@ namespace tools
//! `password` is used as password
password_container(std::string&& password) noexcept;
+ password_container(const epee::wipeable_string& password) noexcept;
//! \return A password from stdin TTY prompt or `std::cin` pipe.
static boost::optional<password_container> prompt(bool verify, const char *mesage = "Password", bool hide_input = true);