summaryrefslogtreecommitdiff
path: root/apt-pkg/contrib/fileutl.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/contrib/fileutl.cc
parent1c89c98a56df709b4c4477bbd7b86f4e32cee214 (diff)
cherry pick -r1847 from bzr+ssh://bazaar.launchpad.net/~mvo/apt/lp346386/
Diffstat (limited to 'apt-pkg/contrib/fileutl.cc')
-rw-r--r--apt-pkg/contrib/fileutl.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.cc b/apt-pkg/contrib/fileutl.cc
index d63195c7d..960616f33 100644
--- a/apt-pkg/contrib/fileutl.cc
+++ b/apt-pkg/contrib/fileutl.cc
@@ -852,10 +852,10 @@ bool ExecWait(pid_t Pid,const char *Name,bool Reap)
}
/*}}}*/
-// IsPgpClearTextSignature - Check if a file is Pgp/GPG clearsigned /*{{{*/
+// StartsWithGPGClearTextSignature - Check if a file is Pgp/GPG clearsigned /*{{{*/
// ---------------------------------------------------------------------
/* */
-bool IsPgpClearTextSignature(string const &FileName)
+bool StartsWithGPGClearTextSignature(string const &FileName)
{
static const char* SIGMSG = "-----BEGIN PGP SIGNED MESSAGE-----\n";
char buffer[strlen(SIGMSG)+1];