mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-31 00:23:58 +00:00
Auto-update fix -- signature is in hex.
This commit is contained in:
parent
b897ec1efd
commit
fe87136870
@ -210,7 +210,7 @@ public:
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ed25519(nfo.get("ed25519",""));
|
std::string ed25519(Utils::unhex(nfo.get("ed25519","")));
|
||||||
if ((ed25519.length() == 0)||(!signedBy.verify(fileData.data(),(unsigned int)fileData.length(),ed25519.data(),(unsigned int)ed25519.length()))) {
|
if ((ed25519.length() == 0)||(!signedBy.verify(fileData.data(),(unsigned int)fileData.length(),ed25519.data(),(unsigned int)ed25519.length()))) {
|
||||||
//fprintf(stderr,"UPDATE %s failed signature check!\n",filePath.c_str());
|
//fprintf(stderr,"UPDATE %s failed signature check!\n",filePath.c_str());
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user