mirror of
https://github.com/morgan9e/UxPlay
synced 2026-04-14 00:04:13 +09:00
mirror_buffer.c: comment out unused variable outputlength
This commit is contained in:
@@ -102,7 +102,7 @@ void mirror_buffer_decrypt(mirror_buffer_t *mirror_buffer, unsigned char* input,
|
||||
input + mirror_buffer->nextDecryptCount, encryptlen);
|
||||
// Copy to output
|
||||
memcpy(output + mirror_buffer->nextDecryptCount, input + mirror_buffer->nextDecryptCount, encryptlen);
|
||||
int outputlength = mirror_buffer->nextDecryptCount + encryptlen;
|
||||
// int outputlength = mirror_buffer->nextDecryptCount + encryptlen;
|
||||
// Processing remaining length
|
||||
int restlen = (inputLen - mirror_buffer->nextDecryptCount) % 16;
|
||||
int reststart = inputLen - restlen;
|
||||
@@ -114,7 +114,7 @@ void mirror_buffer_decrypt(mirror_buffer_t *mirror_buffer, unsigned char* input,
|
||||
for (int j = 0; j < restlen; j++) {
|
||||
output[reststart + j] = mirror_buffer->og[j];
|
||||
}
|
||||
outputlength += restlen;
|
||||
//outputlength += restlen;
|
||||
mirror_buffer->nextDecryptCount = 16 - restlen;// Difference 16-6=10 bytes
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user