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 3de68e64..61fe94e3 100644 --- a/openpgp/src/serialize/stream.rs +++ b/openpgp/src/serialize/stream.rs @@ -3400,6 +3400,11 @@ mod test { } fn test_aead_messages(algo: AEADAlgorithm) -> Result<()> { + if ! algo.is_supported() { + eprintln!("Skipping because {} is not supported.", algo); + return Ok(()); + } + // AEAD data is of the form: // // [ chunk1 ][ tag1 ] ... [ chunkN ][ tagN ][ tag ] |