Args.push_back(aptkey.c_str());
Args.push_back("--quiet");
Args.push_back("--readonly");
- Args.push_back("adv");
+ Args.push_back("verify");
char statusfdstr[10];
if (statusfd != -1)
Args.push_back(Opts->Value.c_str());
}
}
- Args.push_back("--verify");
enum { DETACHED, CLEARSIGNED } releaseSignature = (FileGPG != File) ? DETACHED : CLEARSIGNED;
std::vector<std::string> dataHeader;
// all the rest is whitespace, unsigned garbage or additional message blocks we ignore
}
fclose(in);
+ if (buf != NULL)
+ free(buf);
if (found_signature == true)
return _error->Error("Signature in file %s wasn't closed", InFile.c_str());