diff options
| author | Gavin Andresen <[email protected]> | 2011-11-30 17:30:54 -0800 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2011-11-30 17:30:54 -0800 |
| commit | a7120a3647b17878914da0b40655edcc5a9da59f (patch) | |
| tree | e196c290b626a69452dd1f1932ec7bb52cd148f0 /src/crypter.cpp | |
| parent | Merge pull request #667 from laanwj/homeaddricons (diff) | |
| parent | Implement an mlock()'d string class for storing passphrases (diff) | |
| download | discoin-a7120a3647b17878914da0b40655edcc5a9da59f.tar.xz discoin-a7120a3647b17878914da0b40655edcc5a9da59f.zip | |
Merge pull request #666 from nobled/secstrings
Implement an mlock()'d string class for storing passphrases
Diffstat (limited to 'src/crypter.cpp')
| -rw-r--r-- | src/crypter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypter.cpp b/src/crypter.cpp index bee7a3624..7f53e22f1 100644 --- a/src/crypter.cpp +++ b/src/crypter.cpp @@ -15,7 +15,7 @@ #include "main.h" #include "util.h" -bool CCrypter::SetKeyFromPassphrase(const std::string& strKeyData, const std::vector<unsigned char>& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod) +bool CCrypter::SetKeyFromPassphrase(const SecureString& strKeyData, const std::vector<unsigned char>& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod) { if (nRounds < 1 || chSalt.size() != WALLET_CRYPTO_SALT_SIZE) return false; |