diff options
Diffstat (limited to 'openpgp/src/serialize/stream.rs')
-rw-r--r-- | openpgp/src/serialize/stream.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openpgp/src/serialize/stream.rs b/openpgp/src/serialize/stream.rs index a8d139e1..961b7a42 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -3412,6 +3412,11 @@ mod test { test_aead_messages(AEADAlgorithm::OCB) } + #[test] + fn aead_gcm() -> Result<()> { + test_aead_messages(AEADAlgorithm::GCM) + } + fn test_aead_messages(algo: AEADAlgorithm) -> Result<()> { if ! algo.is_supported() { eprintln!("Skipping because {} is not supported.", algo); |