// if fUseCrypto is false, vMasterKey must be empty
bool fUseCrypto;
+ // keeps track of whether Unlock has run a thorough check before
+ bool fDecryptionThoroughlyChecked;
+
protected:
bool SetCrypted();
bool Unlock(const CKeyingMaterial& vMasterKeyIn);
public:
- CCryptoKeyStore() : fUseCrypto(false) { }
+ CCryptoKeyStore() : fUseCrypto(false), fDecryptionThoroughlyChecked(false) { }
bool IsCrypted() const
{