Skip to content

Commit

Permalink
Reformat eocd checks
Browse files Browse the repository at this point in the history
  • Loading branch information
luk1337 committed Dec 26, 2023
1 parent 5e6fc2c commit 55656ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/js/CryptoService.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export default class CryptoService {
}

for (let i = 4; i < eocd.length - 3; ++i) {
if (eocd[i ] == 0x50 && eocd[i+1] == 0x4b && eocd[i+2] == 0x05 && eocd[i+3] == 0x06) {
if (eocd[i] == 0x50 && eocd[i + 1] == 0x4b && eocd[i + 2] == 0x05 && eocd[i + 3] == 0x06) {
return {
status: false,
msg: 'EOCD marker found after start of EOCD',
Expand Down

0 comments on commit 55656ac

Please sign in to comment.