mirror of
https://github.com/Maschell/JNUSLib.git
synced 2024-11-22 07:59:19 +01:00
Fix the size alignment wehne decrypting non hashed files
This commit is contained in:
parent
4b9ef5da70
commit
5ccc8c1763
@ -107,7 +107,7 @@ public class NUSDecryption extends AESDecryption {
|
|||||||
ByteArrayBuffer overflow = new ByteArrayBuffer(BLOCKSIZE);
|
ByteArrayBuffer overflow = new ByteArrayBuffer(BLOCKSIZE);
|
||||||
|
|
||||||
// We can only decrypt multiples of 16. So we need to align it.
|
// We can only decrypt multiples of 16. So we need to align it.
|
||||||
long toRead = Utils.align(filesize + 15, 16);
|
long toRead = Utils.align(filesize, 16);
|
||||||
|
|
||||||
do {
|
do {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user