summaryrefslogtreecommitdiff
path: root/scripts/Makefile.am
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2012-12-16 00:33:25 +0100
committerGuillem Jover <guillem@debian.org>2013-03-18 06:37:35 +0100
commitb08f7a8306f872b077af4040ebeab8853faaf0cd (patch)
treefebcf47d4f565ad426f10e326bff63920a67a1a8 /scripts/Makefile.am
parent9945c52208fa7520bb307868d6c152ced8238969 (diff)
downloaddpkg-b08f7a8306f872b077af4040ebeab8853faaf0cd.tar.gz
Dpkg::Control::Hash: Check for presence of OpenPGP signatures
Make sure the OpenGPG armor contains a signature block, even on EOF. This should get detected and rejected by gpgv anyway, but it's better to check the structure of the message before doing any further parsing on it.
Diffstat (limited to 'scripts/Makefile.am')
-rw-r--r--scripts/Makefile.am1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 13c9123ad..977146ca3 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -231,6 +231,7 @@ test_data = \
t/700_Dpkg_Control/control-1 \
t/700_Dpkg_Control/bogus-unsigned.dsc \
t/700_Dpkg_Control/bogus-armor-double.dsc \
+ t/700_Dpkg_Control/bogus-armor-no-sig.dsc \
t/700_Dpkg_Control/bogus-armor-trail.dsc \
t/700_Dpkg_Control/bogus-armor-nested.dsc \
t/700_Dpkg_Control/bogus-armor-spaces.dsc \