mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
fixed linux autoupdate for dev channel
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user