summaryrefslogtreecommitdiffstats
path: root/openpgp/src/crypto/asymmetric.rs
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@pep.foundation>2020-01-16 08:35:06 +0100
committerNeal H. Walfield <neal@pep.foundation>2020-01-16 08:38:23 +0100
commit91c1881b81491882128c78e454adb41a5161a1f5 (patch)
tree08876089618d2239da2e527830136e38509f5393 /openpgp/src/crypto/asymmetric.rs
parentfde77d1029503be4da9b9bea7a9ae51d68c0331a (diff)
openpgp: Return more useful errors.
- If the streaming verifier doesn't find a key, because it was rejected by the policy, don't return `VerificationResult::MissingKey`, which is misleading, return `VerificationResult::Error` with an explanation of what happened.
Diffstat (limited to 'openpgp/src/crypto/asymmetric.rs')
0 files changed, 0 insertions, 0 deletions