summaryrefslogtreecommitdiffstats
path: root/openpgp
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2020-10-20 14:26:32 +0200
committerJustus Winter <justus@sequoia-pgp.org>2020-10-20 16:09:58 +0200
commit999e0fce62eb13ee7a9b289a14c24c9552aface1 (patch)
treefb2b38c442ff5a307332666298702c34d9b8c3ae /openpgp
parent6a425698b77253afdba1b3b937af98273edfcfa2 (diff)
buffered-reader: Fix error propagation.
- If reading from the wrapped reader returns an error, but we still can satisfy the request in Generic::data_helper, we do so. But, it is important to keep the error and return it next time the function is called. Otherwise, error conditions are mis-reported as end of file.
Diffstat (limited to 'openpgp')
0 files changed, 0 insertions, 0 deletions