Another tweak, hopefully final, to reduce variance on identity generation times.

This commit is contained in:
Adam Ierymenko 2013-10-07 14:31:13 -04:00
parent 343b7f44fc
commit 2fa2796f2a
5 changed files with 13 additions and 8 deletions

View file

@ -135,7 +135,11 @@ public:
COM_RESERVED_ID_NETWORK_ID = 1 // network ID, max delta always 0
};
CertificateOfMembership() {}
CertificateOfMembership()
{
memset(_signature.data,0,_signature.size());
}
CertificateOfMembership(const char *s) { fromString(s); }
CertificateOfMembership(const std::string &s) { fromString(s.c_str()); }