summaryrefslogtreecommitdiffstats
path: root/apt-pkg/deb
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:04:54 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-08-26 08:04:54 +0000
commite03360876e5b178368c5a86bf0cba1a66f1e9ffc (patch)
tree416e005e1370f813fb72b6eedddd5333cb15b65b /apt-pkg/deb
parentReleasing progress-linux version 2.9.7-0.0~progress7.99u1. (diff)
downloadapt-e03360876e5b178368c5a86bf0cba1a66f1e9ffc.tar.xz
apt-e03360876e5b178368c5a86bf0cba1a66f1e9ffc.zip
Merging upstream version 2.9.8.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'apt-pkg/deb')
-rw-r--r--apt-pkg/deb/debmetaindex.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/deb/debmetaindex.cc b/apt-pkg/deb/debmetaindex.cc
index 5158931..266313b 100644
--- a/apt-pkg/deb/debmetaindex.cc
+++ b/apt-pkg/deb/debmetaindex.cc
@@ -817,6 +817,8 @@ bool debReleaseIndex::SetSignedBy(std::string const &pSignedBy)
else
{
auto const normalSignedBy = NormalizeSignedBy(pSignedBy, true);
+ if (normalSignedBy.empty() == true)
+ return true;
if (normalSignedBy != SignedBy)
return _error->Error(_("Conflicting values set for option %s regarding source %s %s: %s != %s"), "Signed-By", URI.c_str(), Dist.c_str(), SignedBy.c_str(), normalSignedBy.c_str());
}