}
else
{
+ // FIXME: move this into pkgAcqMetaClearSig::Done on the next
+ // ABI break
+
// if we expect a ClearTextSignature (InRelase), ensure that
// this is what we get and if not fail to queue a
// Release/Release.gpg, see #346386
- if (SigFile == DestFile && !IsPgpClearTextSignature(DestFile))
+ if (SigFile == DestFile &&
+ !IsPgpClearTextSignature(DestFile))
{
Failed(Message, Cfg);
return;
pid_t ExecFork();
bool ExecWait(pid_t Pid,const char *Name,bool Reap = false);
+// check if the given file starts with a PGP cleartext signature
bool IsPgpClearTextSignature(std::string const &FileName);
// File string manipulators