mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-05 20:15:59 +01:00
Backport b0caa95378
Properly feed an EOS token to the push down automata in OpenPgpMessageInputStream.read()
This commit is contained in:
parent
0c5521f82a
commit
4b474b4683
1 changed files with 1 additions and 0 deletions
|
@ -712,6 +712,7 @@ public class OpenPgpMessageInputStream extends DecryptionStream {
|
|||
public int read() throws IOException {
|
||||
if (nestedInputStream == null) {
|
||||
if (packetInputStream != null) {
|
||||
syntaxVerifier.next(InputSymbol.EndOfSequence);
|
||||
syntaxVerifier.assertValid();
|
||||
}
|
||||
return -1;
|
||||
|
|
Loading…
Reference in a new issue