Local service plugin stuff... work in progress.

This commit is contained in:
Adam Ierymenko 2013-07-31 17:24:59 -04:00
parent 2ba97fb46b
commit f260c2839c
6 changed files with 446 additions and 1 deletions

View file

@ -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))