documentation and cleanup

This commit is contained in:
Vincent Breitmoser
2016-02-22 23:38:02 +01:00
parent 4df63ccdeb
commit a0c90f0ad5
3 changed files with 24 additions and 4 deletions

View File

@@ -449,7 +449,7 @@ public class PgpDecryptVerifyOperation extends BaseOperation<PgpDecryptVerifyInp
// update signature buffer if signature is also present
signatureChecker.updateSignatureData(buffer, 0, length);
charsetVerifier.write(0, length);
charsetVerifier.readBytesFromBuffer(0, length);
// note down first couple of bytes for "magic bytes" file type detection
if (alreadyWritten == 0) {