diff options
author | Clint Adams <clint@debian.org> | 2012-04-25 19:10:27 -0400 |
---|---|---|
committer | Clint Adams <clint@debian.org> | 2012-04-25 19:10:27 -0400 |
commit | f06c3f713f99c9ea09a76728ffce2c6e1c957070 (patch) | |
tree | 647c5c500b0713ff73533988944eef3bb4ca1bf8 /tests/data | |
parent | 5ed645493e10190f7cddd753bb058e8487037549 (diff) |
Handle decoding multiple ASCII armor messages from a single bytestream.
Diffstat (limited to 'tests/data')
-rw-r--r-- | tests/data/msg1a.asc | 11 | ||||
-rw-r--r-- | tests/data/msg1b.asc | 28 |
2 files changed, 39 insertions, 0 deletions
diff --git a/tests/data/msg1a.asc b/tests/data/msg1a.asc new file mode 100644 index 0000000..64dc079 --- /dev/null +++ b/tests/data/msg1a.asc | |||
@@ -0,0 +1,11 @@ | |||
1 | This file contains an ASCII-armored PGP message enclosed between | ||
2 | |||
3 | -----BEGIN PGP MESSAGE----- | ||
4 | Version: OpenPrivacy 0.99 | ||
5 | |||
6 | yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS | ||
7 | vBSFjNSiVHsuAA== | ||
8 | =njUN | ||
9 | -----END PGP MESSAGE----- | ||
10 | |||
11 | two lines of arbitrary text. | ||
diff --git a/tests/data/msg1b.asc b/tests/data/msg1b.asc new file mode 100644 index 0000000..1176420 --- /dev/null +++ b/tests/data/msg1b.asc | |||
@@ -0,0 +1,28 @@ | |||
1 | This file contains three ASCII-armored PGP messages interspersed | ||
2 | |||
3 | -----BEGIN PGP MESSAGE----- | ||
4 | Version: OpenPrivacy 0.99 | ||
5 | |||
6 | yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS | ||
7 | vBSFjNSiVHsuAA== | ||
8 | =njUN | ||
9 | -----END PGP MESSAGE----- | ||
10 | -----BEGIN PGP MESSAGE----- | ||
11 | Version: OpenPrivacy 0.99 | ||
12 | |||
13 | yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS | ||
14 | vBSFjNSiVHsuAA== | ||
15 | =njUN | ||
16 | -----END PGP MESSAGE----- | ||
17 | |||
18 | with arbitrary text. | ||
19 | |||
20 | -----BEGIN PGP MESSAGE----- | ||
21 | Version: OpenPrivacy 0.99 | ||
22 | |||
23 | yDgBO22WxBHv7O8X7O/jygAEzol56iUKiXmV+XmpCtmpqQUKiQrFqclFqUDBovzS | ||
24 | vBSFjNSiVHsuAA== | ||
25 | =njUN | ||
26 | -----END PGP MESSAGE----- | ||
27 | |||
28 | All three messages are identical. | ||