mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 03:56:54 +02:00
Auto-update fix -- signature is in hex.
This commit is contained in:
parent
b897ec1efd
commit
fe87136870
1 changed files with 1 additions and 1 deletions
|
@ -210,7 +210,7 @@ public:
|
|||
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()))) {
|
||||
//fprintf(stderr,"UPDATE %s failed signature check!\n",filePath.c_str());
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue