Browse Source

Nope, more...

Adam Ierymenko 6 years ago
parent
commit
f23e354272
2 changed files with 3 additions and 0 deletions
  1. 2 0
      node/CertificateOfOwnership.hpp
  2. 1 0
      node/Tag.hpp

+ 2 - 0
node/CertificateOfOwnership.hpp

@@ -76,6 +76,7 @@ public:
 	{
 	{
 		memset(_thingTypes,0,sizeof(_thingTypes));
 		memset(_thingTypes,0,sizeof(_thingTypes));
 		memset(_thingValues,0,sizeof(_thingValues));
 		memset(_thingValues,0,sizeof(_thingValues));
+		memset(_signature.data,0,sizeof(_signature.data));
 	}
 	}
 
 
 	CertificateOfOwnership(const uint64_t nwid,const int64_t ts,const Address &issuedTo,const uint32_t id) :
 	CertificateOfOwnership(const uint64_t nwid,const int64_t ts,const Address &issuedTo,const uint32_t id) :
@@ -88,6 +89,7 @@ public:
 	{
 	{
 		memset(_thingTypes,0,sizeof(_thingTypes));
 		memset(_thingTypes,0,sizeof(_thingTypes));
 		memset(_thingValues,0,sizeof(_thingValues));
 		memset(_thingValues,0,sizeof(_thingValues));
+		memset(_signature.data,0,sizeof(_signature.data));
 	}
 	}
 
 
 	inline uint64_t networkId() const { return _networkId; }
 	inline uint64_t networkId() const { return _networkId; }

+ 1 - 0
node/Tag.hpp

@@ -71,6 +71,7 @@ public:
 		_networkId(0),
 		_networkId(0),
 		_ts(0)
 		_ts(0)
 	{
 	{
+		memset(_signature.data,0,sizeof(_signature.data));
 	}
 	}
 
 
 	/**
 	/**