diff options
author | Neal H. Walfield <neal@pep.foundation> | 2020-01-16 08:35:06 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2020-01-16 08:38:23 +0100 |
commit | 91c1881b81491882128c78e454adb41a5161a1f5 (patch) | |
tree | 08876089618d2239da2e527830136e38509f5393 /openpgp/src/crypto/asymmetric.rs | |
parent | fde77d1029503be4da9b9bea7a9ae51d68c0331a (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