|
@@ -1241,8 +1241,7 @@ void pkgAcqMetaIndex::Done(string Message,unsigned long long Size,string Hash, /
|
|
|
// if we expect a ClearTextSignature (InRelase), ensure that
|
|
// if we expect a ClearTextSignature (InRelase), ensure that
|
|
|
// this is what we get and if not fail to queue a
|
|
// this is what we get and if not fail to queue a
|
|
|
// Release/Release.gpg, see #346386
|
|
// Release/Release.gpg, see #346386
|
|
|
- if (SigFile == DestFile &&
|
|
|
|
|
- !IsPgpClearTextSignature(DestFile))
|
|
|
|
|
|
|
+ if (SigFile == DestFile && !StartsWithGPGClearTextSignature(DestFile))
|
|
|
{
|
|
{
|
|
|
Failed(Message, Cfg);
|
|
Failed(Message, Cfg);
|
|
|
return;
|
|
return;
|