summaryrefslogtreecommitdiff
path: root/core/crypto/hashing_context.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/crypto/hashing_context.h')
-rw-r--r--core/crypto/hashing_context.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/crypto/hashing_context.h b/core/crypto/hashing_context.h
index 230ba7ee85..f9454fa891 100644
--- a/core/crypto/hashing_context.h
+++ b/core/crypto/hashing_context.h
@@ -44,7 +44,7 @@ public:
};
private:
- void *ctx;
+ void *ctx = nullptr;
HashType type;
protected:
@@ -57,7 +57,7 @@ public:
Error update(PackedByteArray p_chunk);
PackedByteArray finish();
- HashingContext();
+ HashingContext() {}
~HashingContext();
};