diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-03 11:27:47 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2007-08-03 11:27:47 +0200 |
commit | c3279b9d100fb62f412267512458b58dda40f95b (patch) | |
tree | 9af2a695fd7f789090ce8cba959d7241db07497c /apt-pkg/deb/debrecords.cc | |
parent | 5aa5a030bb4f2d46a30526377c5309dc20dbe2af (diff) | |
parent | 2c941d896911dca364b3d38dc593f3bf6847f3e5 (diff) |
(ABI break)
* merged apt--sha256 branch to fully support the new
sha256 checksums in the Packages and Release files
(ABI break)
Diffstat (limited to 'apt-pkg/deb/debrecords.cc')
-rw-r--r-- | apt-pkg/deb/debrecords.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apt-pkg/deb/debrecords.cc b/apt-pkg/deb/debrecords.cc index 8a5b6e215..3d3d7de0a 100644 --- a/apt-pkg/deb/debrecords.cc +++ b/apt-pkg/deb/debrecords.cc @@ -67,6 +67,14 @@ string debRecordParser::SHA1Hash() return Section.FindS("SHA1"); } /*}}}*/ +// RecordParser::SHA1Hash - Return the archive hash /*{{{*/ +// --------------------------------------------------------------------- +/* */ +string debRecordParser::SHA256Hash() +{ + return Section.FindS("SHA256"); +} + /*}}}*/ // RecordParser::Maintainer - Return the maintainer email /*{{{*/ // --------------------------------------------------------------------- /* */ |