diff options
Diffstat (limited to 'openpgp/src/crypto/backend/cng/symmetric.rs')
-rw-r--r-- | openpgp/src/crypto/backend/cng/symmetric.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openpgp/src/crypto/backend/cng/symmetric.rs b/openpgp/src/crypto/backend/cng/symmetric.rs index 432e6679..d3215eec 100644 --- a/openpgp/src/crypto/backend/cng/symmetric.rs +++ b/openpgp/src/crypto/backend/cng/symmetric.rs @@ -77,6 +77,7 @@ impl Mode for Mutex<cng::SymmetricAlgorithmKey> { #[derive(Debug, thiserror::Error)] #[error("Unsupported algorithm: {0}")] pub struct UnsupportedAlgorithm(SymmetricAlgorithm); +assert_send_and_sync!(UnsupportedAlgorithm); impl From<UnsupportedAlgorithm> for Error { fn from(value: UnsupportedAlgorithm) -> Error { |