diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-07 16:04:41 -0800 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2017-12-07 16:04:41 -0800 |
commit | aeb1794be19904ca8a2ff2fb7d1307d4b8d24031 (patch) | |
tree | a2507bdac32c590678a53967af3a9384fd2638a1 | |
parent | dae728124ea5d5c1d2e68e90d6f6b0faf3f3693b (diff) | |
download | infinitytier-aeb1794be19904ca8a2ff2fb7d1307d4b8d24031.tar.gz infinitytier-aeb1794be19904ca8a2ff2fb7d1307d4b8d24031.zip |
Comment out storage of secret ID in RethinkDb.
-rw-r--r-- | controller/RethinkDB.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/controller/RethinkDB.cpp b/controller/RethinkDB.cpp index a1064f37..a56df0eb 100644 --- a/controller/RethinkDB.cpp +++ b/controller/RethinkDB.cpp @@ -324,10 +324,10 @@ RethinkDB::RethinkDB(EmbeddedNetworkController *const nc,const Identity &myId,co { char publicId[1024]; - char secretId[1024]; + //char secretId[1024]; char hostname[1024]; this->_myId.toString(false,publicId); - this->_myId.toString(true,secretId); + //this->_myId.toString(true,secretId); if (gethostname(hostname,sizeof(hostname)) != 0) { hostname[0] = (char)0; } else { @@ -340,7 +340,7 @@ RethinkDB::RethinkDB(EmbeddedNetworkController *const nc,const Identity &myId,co } controllerRecord["id"] = this->_myAddressStr.c_str(); controllerRecord["publicIdentity"] = publicId; - controllerRecord["secretIdentity"] = secretId; + //controllerRecord["secretIdentity"] = secretId; if (hostname[0]) controllerRecord["clusterHost"] = hostname; controllerRecord["vMajor"] = ZEROTIER_ONE_VERSION_MAJOR; |