summaryrefslogtreecommitdiffstats
path: root/openpgp/src/policy.rs
diff options
context:
space:
mode:
Diffstat (limited to 'openpgp/src/policy.rs')
-rw-r--r--openpgp/src/policy.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/openpgp/src/policy.rs b/openpgp/src/policy.rs
index fc74fe59..4920317b 100644
--- a/openpgp/src/policy.rs
+++ b/openpgp/src/policy.rs
@@ -62,7 +62,7 @@ use cutofflist::{
};
/// A policy for cryptographic operations.
-pub trait Policy : fmt::Debug {
+pub trait Policy : fmt::Debug + Send + Sync {
/// Returns an error if the signature violates the policy.
///
/// This function performs the last check before the library