summaryrefslogtreecommitdiffstats
path: root/openpgp/src/types/mod.rs
diff options
context:
space:
mode:
authorNora Widdecke <nora@sequoia-pgp.org>2020-09-24 15:13:26 +0200
committerNora Widdecke <nora@sequoia-pgp.org>2020-09-24 15:24:11 +0200
commitf3608f5c87c011076390a5e4aa551c8332ef3b90 (patch)
treef6acfe7579db234f18d74675667f427ccc100e4d /openpgp/src/types/mod.rs
parentc593ff5fd0af4fe8c26ee54f057b283e78273e83 (diff)
openpgp: Ensure entire header is read.
- https://rust-lang.github.io/rust-clippy/master/index.html#unused_io_amount - Replace `read` with `read_exact`, so that an error is returned if the buffer cannot be filled.
Diffstat (limited to 'openpgp/src/types/mod.rs')
0 files changed, 0 insertions, 0 deletions