diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2018-09-19 17:55:00 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2018-09-19 17:58:42 +0200 |
commit | f61f2de821322b35acda820fc2f68c1192cd3c63 (patch) | |
tree | 3903b0113a8df02b966facca19a3ae0825ed7654 /openpgp/src | |
parent | b484cc6cae267d5ee05f9be709611cb583c272a7 (diff) |
openpgp: Add test vector.
Diffstat (limited to 'openpgp/src')
-rw-r--r-- | openpgp/src/message/mod.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/openpgp/src/message/mod.rs b/openpgp/src/message/mod.rs index fb793dd4..5f06a52c 100644 --- a/openpgp/src/message/mod.rs +++ b/openpgp/src/message/mod.rs @@ -603,6 +603,11 @@ mod tests { result: true, }, TestVector { + s: &[(OnePassSig, 0), (CompressedData, 0), (Literal, 1), + (Signature, 0)], + result: true, + }, + TestVector { s: &[(OnePassSig, 0), (OnePassSig, 0), (Literal, 0), (Signature, 0), (Signature, 0)], result: true, |