Adam Ierymenko 6 years ago
parent
commit
d5ac8512e3
1 changed files with 5 additions and 1 deletions
  1. 5 1
      node/Revocation.hpp

+ 5 - 1
node/Revocation.hpp

@@ -68,6 +68,7 @@ public:
 		_signedBy(),
 		_signedBy(),
 		_type(Credential::CREDENTIAL_TYPE_NULL)
 		_type(Credential::CREDENTIAL_TYPE_NULL)
 	{
 	{
+		memset(_signature.data,0,sizeof(_signature.data));
 	}
 	}
 
 
 	/**
 	/**
@@ -87,7 +88,10 @@ public:
 		_flags(fl),
 		_flags(fl),
 		_target(tgt),
 		_target(tgt),
 		_signedBy(),
 		_signedBy(),
-		_type(ct) {}
+		_type(ct)
+	{
+		memset(_signature.data,0,sizeof(_signature.data));
+	}
 
 
 	inline uint32_t id() const { return _id; }
 	inline uint32_t id() const { return _id; }
 	inline uint32_t credentialId() const { return _credentialId; }
 	inline uint32_t credentialId() const { return _credentialId; }