diff options
Diffstat (limited to 'openpgp/src/lib.rs')
-rw-r--r-- | openpgp/src/lib.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/openpgp/src/lib.rs b/openpgp/src/lib.rs index 4cc96884..11878174 100644 --- a/openpgp/src/lib.rs +++ b/openpgp/src/lib.rs @@ -318,6 +318,10 @@ pub enum Error { #[error("Invalid key: {0:?}")] InvalidKey(String), + /// No hash algorithm found that would be accepted by all signers. + #[error("No acceptable hash")] + NoAcceptableHash, + /// The operation is not allowed, because it violates the policy. /// /// The optional time is the time at which the operation was |