summaryrefslogtreecommitdiffstats
path: root/openpgp/src/cert/amalgamation.rs
diff options
context:
space:
mode:
authorAzul <azul@riseup.net>2020-12-07 16:30:52 +0100
committerAzul <azul@riseup.net>2020-12-08 10:36:50 +0100
commit52794155913ce1fa78ce01a41b29c67e721e9847 (patch)
tree1d1d5776f8aca2594031916fe9179aa90e41ed8c /openpgp/src/cert/amalgamation.rs
parent88df27d0ae174b87e980371c5600d470516ed116 (diff)
openpgp: Require Policies to be Send and Sync.
- This ensures that all types with Policies (`Valid*`) are `Send` and `Sync`.
Diffstat (limited to 'openpgp/src/cert/amalgamation.rs')
-rw-r--r--openpgp/src/cert/amalgamation.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/cert/amalgamation.rs b/openpgp/src/cert/amalgamation.rs
index 69da539a..2cac62e2 100644
--- a/openpgp/src/cert/amalgamation.rs
+++ b/openpgp/src/cert/amalgamation.rs
@@ -1078,6 +1078,7 @@ pub struct ValidComponentAmalgamation<'a, C> {
// The binding signature at time `time`. (This is just a cache.)
binding_signature: &'a Signature,
}
+assert_send_and_sync!{ValidComponentAmalgamation<'_, C>, C}
/// A Valid User ID and its associated data.
///