mirror of
https://github.com/Xpl0itU/WiiUDownloader.git
synced 2025-05-09 13:52:02 -04:00
Fix decryption
This commit is contained in:
parent
ea5f7ac243
commit
f35714782e
1 changed files with 1 additions and 1 deletions
|
@ -399,7 +399,7 @@ func decryptContentToBuffer(encryptedFile *os.File, decryptedBuffer *bytes.Buffe
|
|||
break
|
||||
}
|
||||
}
|
||||
if !reflect.DeepEqual(content.Hash, contentHash.Sum(nil)) {
|
||||
if !reflect.DeepEqual(content.Hash[:sha1.Size], contentHash.Sum(nil)) {
|
||||
return errors.New("content hash mismatch")
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue