summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-03-14 14:44:33 +0100
committerJulian Andres Klode <jak@debian.org>2016-03-14 14:44:38 +0100
commit0d80586a67622d4d58908fee41c3be8a6813d426 (patch)
tree835796e9b0ceef4668b427c474ac6d7bb8604595 /methods
parent76a71a1237d22c1990efbc19ce0e02aacf572576 (diff)
Revert "Handle ERRSIG in the gpgv method like BADSIG"
This reverts commit 76a71a1237d22c1990efbc19ce0e02aacf572576. That commit broke the test suite. Gbp-Dch: ignore
Diffstat (limited to 'methods')
-rw-r--r--methods/gpgv.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/methods/gpgv.cc b/methods/gpgv.cc
index 5800a04f0..f17990245 100644
--- a/methods/gpgv.cc
+++ b/methods/gpgv.cc
@@ -29,7 +29,6 @@ using std::vector;
#define GNUPGPREFIX "[GNUPG:]"
#define GNUPGBADSIG "[GNUPG:] BADSIG"
-#define GNUPGERRSIG "[GNUPG:] ERRSIG"
#define GNUPGNOPUBKEY "[GNUPG:] NO_PUBKEY"
#define GNUPGVALIDSIG "[GNUPG:] VALIDSIG"
#define GNUPGGOODSIG "[GNUPG:] GOODSIG"
@@ -102,12 +101,6 @@ string GPGVMethod::VerifyGetSigners(const char *file, const char *outfile,
std::clog << "Got BADSIG! " << std::endl;
BadSigners.push_back(string(buffer+sizeof(GNUPGPREFIX)));
}
- else if (strncmp(buffer, GNUPGERRSIG, sizeof(GNUPGERRSIG)-1) == 0)
- {
- if (Debug == true)
- std::clog << "Got ERRSIG! " << std::endl;
- BadSigners.push_back(string(buffer+sizeof(GNUPGPREFIX)));
- }
else if (strncmp(buffer, GNUPGNOPUBKEY, sizeof(GNUPGNOPUBKEY)-1) == 0)
{
if (Debug == true)