From aeb1794be19904ca8a2ff2fb7d1307d4b8d24031 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Thu, 7 Dec 2017 16:04:41 -0800 Subject: Comment out storage of secret ID in RethinkDb. --- controller/RethinkDB.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'controller') 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; -- cgit v1.2.3