Skip to content

Commit

Permalink
Use new algos also for the core
Browse files Browse the repository at this point in the history
  • Loading branch information
GodMod committed Jan 24, 2020
1 parent 1366a29 commit e11b23d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/repository.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public function getCoreUpdateDownloadLink(){
if((int)$arrJson->status == 0 || !strlen((string)$arrJson->link)){
return array('status' => 0, 'error' => ((string)$arrJson->error == 'blacklistet') ? 403 : 404);
} elseif((int)$arrJson->status == 1) {
return array('status' => 1, 'link' => (string)$arrJson->link, 'hash' => (string)$arrJson->hash, 'signature' => (string)$arrJson->signature, 'note' => (($arrJson->releasenote) ? (string)$arrJson->releasenote : ''));
return array('status' => 1, 'link' => (string)$arrJson->link, 'hash' => (string)$arrJson->hash_sha256, 'signature' => (string)$arrJson->signature_sha256, 'note' => (($arrJson->releasenote) ? (string)$arrJson->releasenote : ''));
}

return false;
Expand Down

0 comments on commit e11b23d

Please sign in to comment.