diff options
| author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-18 12:59:04 -0800 |
|---|---|---|
| committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-11-18 12:59:04 -0800 |
| commit | 2ea9f516e121ea6eb344a8d180a739a1d707aecb (patch) | |
| tree | 5d1e02ed53e797f277de06f18fc64626cebe737e /node/Node.cpp | |
| parent | ab4021dd0ee37af0af4137dc772911ea8ec52bb2 (diff) | |
| download | infinitytier-2ea9f516e121ea6eb344a8d180a739a1d707aecb.tar.gz infinitytier-2ea9f516e121ea6eb344a8d180a739a1d707aecb.zip | |
Rate gate expensive validation of new identities in HELLO.
Diffstat (limited to 'node/Node.cpp')
| -rw-r--r-- | node/Node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/node/Node.cpp b/node/Node.cpp index add3117e..ec719668 100644 --- a/node/Node.cpp +++ b/node/Node.cpp @@ -78,6 +78,7 @@ Node::Node( memset(_expectingRepliesToBucketPtr,0,sizeof(_expectingRepliesToBucketPtr)); memset(_expectingRepliesTo,0,sizeof(_expectingRepliesTo)); + memset(_lastIdentityVerification,0,sizeof(_lastIdentityVerification)); // Use Salsa20 alone as a high-quality non-crypto PRNG { |
