Skip to content
Snippets Groups Projects
Commit 9e3631b1 authored by Adrien Béraud's avatar Adrien Béraud
Browse files

TrustStore: prevent move

Change-Id: Id530a5985feb84d213cc02dc564037e64f626abe
parent 9116bc6f
No related branches found
No related tags found
No related merge requests found
......@@ -120,8 +120,6 @@ class TrustStore
{
public:
TrustStore() = default;
TrustStore(TrustStore&& o) = default;
TrustStore& operator=(TrustStore&& o) = default;
enum class PermissionStatus { UNDEFINED = 0, ALLOWED, BANNED };
......@@ -156,6 +154,8 @@ public:
private:
NON_COPYABLE(TrustStore);
TrustStore(TrustStore&& o) = delete;
TrustStore& operator=(TrustStore&& o) = delete;
void updateKnownCerts();
bool setCertificateStatus(std::shared_ptr<crypto::Certificate> cert,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment