diff options
author | Neal H. Walfield <neal@pep.foundation> | 2019-10-31 21:36:16 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@pep.foundation> | 2019-11-01 11:41:55 +0100 |
commit | 83b6d0f1d1d6769bbdc00aa6c455b04576d7fdd2 (patch) | |
tree | 7195181ea2f48b069f9afa39dd2c528da5a61c09 /openpgp/tests | |
parent | 4f5699ef4ad8f84147edfa4785ed26d27c64d380 (diff) |
openpgp: Fix Transform::read_helper.
- To avoid an infinite loop, we need to not only read data, but also
consume it.
- Add a regression test.
- Fixes #349.
Diffstat (limited to 'openpgp/tests')
-rw-r--r-- | openpgp/tests/data/messages/emmelie-dorothea-dina-samantha-awina-detachted-signature-of-100MB-of-zeros.sig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/openpgp/tests/data/messages/emmelie-dorothea-dina-samantha-awina-detachted-signature-of-100MB-of-zeros.sig b/openpgp/tests/data/messages/emmelie-dorothea-dina-samantha-awina-detachted-signature-of-100MB-of-zeros.sig new file mode 100644 index 00000000..6e8b67be --- /dev/null +++ b/openpgp/tests/data/messages/emmelie-dorothea-dina-samantha-awina-detachted-signature-of-100MB-of-zeros.sig @@ -0,0 +1,7 @@ +-----BEGIN PGP SIGNATURE----- + +iHUEABYIAB0WIQQGHDykSv8OxY3GbpUi4/r+lrVsMgUCXbtAJwAKCRAi4/r+lrVs +MgvBAQCOWK8CPy+h9jiWcOKNXxGTu6JQUqE7zoBS6q1MlHk2eQD9EAV7FtOrFvQ8 +ogmLSqkkmdTJA9KlJS65zJWLTMTAewQ= +=JKYW +-----END PGP SIGNATURE----- |