summaryrefslogtreecommitdiff
path: root/node/Dictionary.cpp
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-08 14:57:13 -0700
committerAdam Ierymenko <adam.ierymenko@zerotier.com>2014-08-08 14:57:13 -0700
commitfe3ad5e2cc27b6b7e9bf8f78e6e681bd10315143 (patch)
tree815b6d4750fc9162841aeeae121be5e17bd0e172 /node/Dictionary.cpp
parent502ea66f151b0bef05c5a4183e955c2d358a837a (diff)
downloadinfinitytier-fe3ad5e2cc27b6b7e9bf8f78e6e681bd10315143.tar.gz
infinitytier-fe3ad5e2cc27b6b7e9bf8f78e6e681bd10315143.zip
Fix a Windows bug in refactored tap code, and always make sure we have a firewall exception rule on startup.
Diffstat (limited to 'node/Dictionary.cpp')
-rw-r--r--node/Dictionary.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node/Dictionary.cpp b/node/Dictionary.cpp
index e050143b..50440e5b 100644
--- a/node/Dictionary.cpp
+++ b/node/Dictionary.cpp
@@ -110,7 +110,7 @@ bool Dictionary::verify(const Identity &id) const
if (sig == end())
return false;
std::string sigbin(Utils::unhex(sig->second));
- return id.verify(buf.data(),(unsigned int)buf.length(),sigbin.data(),sigbin.length());
+ return id.verify(buf.data(),(unsigned int)buf.length(),sigbin.data(),(unsigned int)sigbin.length());
} catch ( ... ) {
return false;
}