summaryrefslogtreecommitdiff
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorCoolStar <coolstarorganization@gmail.com>2018-05-23 11:41:58 -0700
committerSam Bingner <sam@bingner.com>2019-12-26 15:12:15 -1000
commitdce63b96e54533cb35d6618d200701363d5b6e44 (patch)
tree3720f35b8e72e18f782c84ce4213e59fb18c4d0c /apt-pkg/deb
parent0a4d0898091e9a6ff584f14d310a13f61fb3d9a3 (diff)
Backwards compatibility patches for Cydia repos
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/debmetaindex.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index f88076abf..cd794c7a7 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -523,11 +523,12 @@ bool debReleaseIndex::Load(std::string const &Filename, std::string * const Erro
}
bool AuthPossible = false;
- if(FoundHashSum == false)
+ /*if(FoundHashSum == false)
_error->Warning(_("No Hash entry in Release file %s"), Filename.c_str());
else if(FoundStrongHashSum == false)
_error->Warning(_("No Hash entry in Release file %s which is considered strong enough for security purposes"), Filename.c_str());
- else
+ else*/
+ if (FoundHashSum && FoundStrongHashSum)
AuthPossible = true;
std::string const StrDate = Section.FindS("Date");