summaryrefslogtreecommitdiff
path: root/apt-pkg/deb/debrecords.cc
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:57:20 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:57:20 +0000
commita7c835af20feeb470238ead3bda36af978c2600f (patch)
treefc85aa957eeba8b21c7a9c18bc8efb126c94d222 /apt-pkg/deb/debrecords.cc
parent36803406d195dba90a418bb858ebf65033867aba (diff)
Alfredo's vendor stuff
Author: jgg Date: 2001-03-13 06:51:46 GMT Alfredo's vendor stuff
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r--apt-pkg/deb/debrecords.cc12
1 files changed, 10 insertions, 2 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc
index 0196992c6..6652a6ad9 100644
--- a/apt-pkg/deb/debrecords.cc
+++ b/apt-pkg/deb/debrecords.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: debrecords.cc,v 1.9 2001/02/20 07:03:17 jgg Exp $
+// $Id: debrecords.cc,v 1.10 2001/03/13 06:51:46 jgg Exp $
/* ######################################################################
Debian Package Records - Parser for debian package records
@@ -53,7 +53,15 @@ string debRecordParser::Name()
/* */
string debRecordParser::MD5Hash()
{
- return Section.FindS("MD5sum");
+ return Section.FindS("MD5Sum");
+}
+ /*}}}*/
+// RecordParser::SHA1Hash - Return the archive hash /*{{{*/
+// ---------------------------------------------------------------------
+/* */
+string debRecordParser::SHA1Hash()
+{
+ return Section.FindS("SHA1Sum");
}
/*}}}*/
// RecordParser::Maintainer - Return the maintainer email /*{{{*/