mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-06 12:33:44 +02:00
.
This commit is contained in:
parent
9461bc948f
commit
2043e12ac2
1 changed files with 2 additions and 2 deletions
|
@ -84,8 +84,8 @@ static void _computeMemoryHardHash(const void *publicKey,unsigned int publicKeyB
|
||||||
// threshold value.
|
// threshold value.
|
||||||
struct _Identity_generate_cond
|
struct _Identity_generate_cond
|
||||||
{
|
{
|
||||||
_Identity_generate_cond() {}
|
inline _Identity_generate_cond() {}
|
||||||
_Identity_generate_cond(unsigned char *sb,char *gm) : digest(sb),genmem(gm) {}
|
inline _Identity_generate_cond(unsigned char *sb,char *gm) : digest(sb),genmem(gm) {}
|
||||||
inline bool operator()(const C25519::Pair &kp) const
|
inline bool operator()(const C25519::Pair &kp) const
|
||||||
{
|
{
|
||||||
_computeMemoryHardHash(kp.pub.data,ZT_C25519_PUBLIC_KEY_LEN,digest,genmem);
|
_computeMemoryHardHash(kp.pub.data,ZT_C25519_PUBLIC_KEY_LEN,digest,genmem);
|
||||||
|
|
Loading…
Add table
Reference in a new issue