1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-11-04 20:38:50 +01:00
gnupg/tests/openpgp/samplemsgs
Justus Winter b2572b0c38 common: Fix iobuf_peek corner case.
Previously, iobuf_peek on a file smaller than 'buflen' would hang.

* common/iobuf.c (underflow): Generalize by adding a target parameter.
(iobuf_peek): Use this to prevent looping here.
* tests/openpgp/Makefile.am (TESTS): Add new test.
* tests/openpgp/setup.scm (dearmor): Move function...
* tests/openpgp/defs.scm (dearmor): ... here.
* tests/openpgp/issue2419.scm: New file.
* tests/openpgp/samplemsgs/issue2419.asc: Likewise.

GnuPG-bug-id: 2419
Signed-off-by: Justus Winter <justus@g10code.com>
2016-07-26 18:37:37 +02:00
..
clearsig-1-key-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
clearsig-2-keys-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
clearsig-2-keys-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-1-key-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-1-key-1.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-1-key-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-1-key-2.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-2-keys-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-2-keys-1.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-2-keys-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-2-keys-2.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
enc-2-keys-hh-1.asc tests: 3 more sample messages 2016-07-13 18:20:06 +02:00
enc-2-keys-hr-1.asc tests: 3 more sample messages 2016-07-13 18:20:06 +02:00
enc-2-keys-rh-1.asc tests: 3 more sample messages 2016-07-13 18:20:06 +02:00
encsig-2-2-keys-3.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-2-keys-3.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-2-keys-4.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-2-keys-4.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-1.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-2.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-3.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-3.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-4.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encsig-2-keys-4.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encz0-1-key-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
encz0-1-key-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
issue2419.asc common: Fix iobuf_peek corner case. 2016-07-26 18:37:37 +02:00
sig-1-key-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-1-key-1.sig tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-1-key-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-1-key-2.sig tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-2-keys-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-2-keys-1.sig tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-2-keys-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
sig-2-keys-2.sig tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-1-key-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-1-key-1.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-1-key-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-1-key-2.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-2-keys-1.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-2-keys-1.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-2-keys-2.asc tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-2-keys-2.gpg tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signed-data-1.txt tests: Add a set of sample messages for the two new keys to the repo. 2016-06-22 11:25:22 +02:00
signedz0-1-key-1.gpg tests: Add four more sample messages for the two new keys to the repo. 2016-06-23 09:38:12 +02:00
signedz0-1-key-2.gpg tests: Add four more sample messages for the two new keys to the repo. 2016-06-23 09:38:12 +02:00
signedz0-2-keys-1.gpg tests: Add four more sample messages for the two new keys to the repo. 2016-06-23 09:38:12 +02:00
signedz0-2-keys-2.gpg tests: Add four more sample messages for the two new keys to the repo. 2016-06-23 09:38:12 +02:00