diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-25 12:56:03 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2019-03-25 12:56:03 -0700 |
commit | f23e3542726e7698c948f6a1917a3ba8ca16efca (patch) | |
tree | 5bc82dc8b0ad8cd8b7ff1724b4a3611b62195671 | |
parent | 6475e1faf6befebdb88cf4d23de492acbc8820d3 (diff) | |
download | infinitytier-f23e3542726e7698c948f6a1917a3ba8ca16efca.tar.gz infinitytier-f23e3542726e7698c948f6a1917a3ba8ca16efca.zip |
Nope, more...
-rw-r--r-- | node/CertificateOfOwnership.hpp | 2 | ||||
-rw-r--r-- | node/Tag.hpp | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/node/CertificateOfOwnership.hpp b/node/CertificateOfOwnership.hpp index ffb0f74b..bae7ef2f 100644 --- a/node/CertificateOfOwnership.hpp +++ b/node/CertificateOfOwnership.hpp @@ -76,6 +76,7 @@ public: { memset(_thingTypes,0,sizeof(_thingTypes)); 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) : @@ -88,6 +89,7 @@ public: { memset(_thingTypes,0,sizeof(_thingTypes)); memset(_thingValues,0,sizeof(_thingValues)); + memset(_signature.data,0,sizeof(_signature.data)); } inline uint64_t networkId() const { return _networkId; } diff --git a/node/Tag.hpp b/node/Tag.hpp index 9d6ecc3b..ec53f734 100644 --- a/node/Tag.hpp +++ b/node/Tag.hpp @@ -71,6 +71,7 @@ public: _networkId(0), _ts(0) { + memset(_signature.data,0,sizeof(_signature.data)); } /** |