Local service plugin stuff... work in progress.
This commit is contained in:
parent
2ba97fb46b
commit
f260c2839c
6 changed files with 446 additions and 1 deletions
|
@ -123,7 +123,7 @@ bool Identity::fromString(const char *str)
|
|||
std::string b(Utils::unhex(fields[0]));
|
||||
if (b.length() != ZT_ADDRESS_LENGTH)
|
||||
return false;
|
||||
_address = b.data();
|
||||
_address.setTo(b.data(),ZT_ADDRESS_LENGTH);
|
||||
|
||||
b = Utils::base64Decode(fields[2]);
|
||||
if ((!b.length())||(b.length() > ZT_EC_MAX_BYTES))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue