Skip to content
Snippets Groups Projects
Verified Commit bc629b90 authored by Daniel Lyubomirov's avatar Daniel Lyubomirov
Browse files

[17] crypto storage linux fixes

parent 1d66cf16
No related branches found
No related tags found
1 merge request!97Crypto Storage and LoginWithNewDevice and LoginWithPreviouslyAddedDevice APIs
......@@ -11,6 +11,7 @@
#include <vereign/crypto/aes.hh>
#include <vereign/crypto/bio.hh>
#include <boost/core/ignore_unused.hpp>
#include <chrono>
namespace {
......@@ -26,9 +27,11 @@ namespace {
namespace vereign::kvstore::detail {
CryptoStorageImpl::CryptoStorageImpl(kvstore::Storage& storage)
CryptoStorageImpl::CryptoStorageImpl(kvstore::Storage& storage, bool disable_key_protection)
: storage_{storage}
{}
{
boost::ignore_unused(disable_key_protection);
}
void CryptoStorageImpl::Open(const std::string& pin) {
kvstore::Lock l{storage_, lockRetryCount, lockRetrySleep};
......
......@@ -7,7 +7,7 @@ namespace vereign::kvstore::detail {
class CryptoStorageImpl {
public:
CryptoStorageImpl(kvstore::Storage& storage);
CryptoStorageImpl(kvstore::Storage& storage, bool disable_key_protection);
// disable copying
CryptoStorageImpl(const CryptoStorageImpl&) = delete;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment