summaryrefslogtreecommitdiff
path: root/apt-pkg/indexcopy.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2012-07-10 15:19:09 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2012-07-10 15:19:09 +0200
commitfe5804fc5010dd8f2e9406187bfc1f6afeb29c5a (patch)
tree8df5aed996e0eda63452bdbe1ba5ac42ac5a8fb6 /apt-pkg/indexcopy.cc
parent1c89c98a56df709b4c4477bbd7b86f4e32cee214 (diff)
cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/
Diffstat (limited to 'apt-pkg/indexcopy.cc')
-rw-r--r--apt-pkg/indexcopy.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/indexcopy.cc b/apt-pkg/indexcopy.cc
index db3d10ecd..ddf1909b7 100644
--- a/apt-pkg/indexcopy.cc
+++ b/apt-pkg/indexcopy.cc
@@ -652,7 +652,7 @@ bool SigVerify::RunGPGV(std::string const &File, std::string const &FileGPG,
if (gpg == NULL)
return _error->Errno("RunGPGV", _("Could not open file %s"), File.c_str());
fclose(gpg);
- if (!IsPgpClearTextSignature(File))
+ if (!StartsWithGPGClearTextSignature(File))
return _error->Error(_("File %s doesn't start with a clearsigned message"), File.c_str());
}