More threading improvements in root, more DNS TXT and multicast work (in progress)
This commit is contained in:
parent
9f9032ae36
commit
e08fc81397
10 changed files with 317 additions and 95 deletions
|
@ -620,6 +620,7 @@ static int testIdentity()
|
|||
}
|
||||
}
|
||||
|
||||
/*
|
||||
try {
|
||||
std::cout << "[identity] Testing Locator and DNS TXT encoding... "; std::cout.flush();
|
||||
uint8_t dnsPub[ZT_ECC384_PUBLIC_KEY_SIZE],dnsPriv[ZT_ECC384_PRIVATE_KEY_SIZE];
|
||||
|
@ -633,7 +634,7 @@ static int testIdentity()
|
|||
l->sign(*ti);
|
||||
auto tr = l->makeTxtRecords(dnsPub,dnsPriv);
|
||||
std::unique_ptr<Locator> l2(new Locator());
|
||||
if (!l2->decodeTxtRecords(tr.begin(),tr.end(),dnsPub)) {
|
||||
if (!l2->decodeTxtRecords(tr.begin(),tr.end())) {
|
||||
std::cout << "FAILED (decode TXT records returned false)" ZT_EOL_S;
|
||||
return -1;
|
||||
}
|
||||
|
@ -642,6 +643,7 @@ static int testIdentity()
|
|||
std::cout << "FAILED (threw integer exception " << e << ")" ZT_EOL_S;
|
||||
return -1;
|
||||
}
|
||||
*/
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue