Add missing parseAndCombineSignatures call

For some reason this was missing from the single-byte read() method
of the SignatureInputStream, causing issues if draining the stream
byte by byte
This commit is contained in:
Paul Schaub 2022-09-05 15:41:58 +02:00
parent 9106d98449
commit 0bafc410a0
Signed by: vanitasvitae
GPG Key ID: 62BEE9264BF17311
1 changed files with 1 additions and 0 deletions

View File

@ -67,6 +67,7 @@ public abstract class SignatureInputStream extends FilterInputStream {
final int data = super.read();
final boolean endOfStream = data == -1;
if (endOfStream) {
parseAndCombineSignatures();
verifyOnePassSignatures();
verifyDetachedSignatures();
} else {