1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-17 18:02:05 +01:00

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

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 {