X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Fcrypter.cpp;h=7f53e22f1e300f8202a1a4572e4ad9548273ba7f;hb=94f778bdebe1438fbe0206621ce44b4e25196e59;hp=bee7a3624b8334f5592a5971c68d6e2470554a0b;hpb=d8b86408636388195596f6c7dded23f777f99a07;p=novacoin.git diff --git a/src/crypter.cpp b/src/crypter.cpp index bee7a36..7f53e22 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& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod) +bool CCrypter::SetKeyFromPassphrase(const SecureString& strKeyData, const std::vector& chSalt, const unsigned int nRounds, const unsigned int nDerivationMethod) { if (nRounds < 1 || chSalt.size() != WALLET_CRYPTO_SALT_SIZE) return false;