mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
fixed linux autoupdate for dev channel
This commit is contained in:
parent
5c8721c429
commit
d8395beadd
1 changed files with 1 additions and 1 deletions
|
@ -1134,7 +1134,7 @@ void PsUpdateDownloader::unpackUpdate() {
|
||||||
return fatalFail();
|
return fatalFail();
|
||||||
}
|
}
|
||||||
|
|
||||||
RSA *pbKey = PEM_read_bio_RSAPublicKey(BIO_new_mem_buf(const_cast<char*>(UpdatesPublicKey), -1), 0, 0, 0);
|
RSA *pbKey = PEM_read_bio_RSAPublicKey(BIO_new_mem_buf(const_cast<char*>(DevChannel ? UpdatesPublicDevKey : UpdatesPublicKey), -1), 0, 0, 0);
|
||||||
if (!pbKey) {
|
if (!pbKey) {
|
||||||
LOG(("Update Error: cant read public rsa key!"));
|
LOG(("Update Error: cant read public rsa key!"));
|
||||||
return fatalFail();
|
return fatalFail();
|
||||||
|
|
Loading…
Add table
Reference in a new issue