/*}}}*/
// pkgAcqMetaSig::Custom600Headers - Insert custom request headers /*{{{*/
// ---------------------------------------------------------------------
-/* The only header we use is the last-modified header. */
string pkgAcqMetaSig::Custom600Headers() const
{
string FinalFile = _config->FindDir("Dir::State::lists");
}
else
{
- if(AuthDone(Message, RealURI) == true)
+ if(CheckAuthDone(Message, RealURI) == true)
{
std::string FinalFile = _config->FindDir("Dir::State::lists");
FinalFile += URItoFileName(RealURI);
}
// pkgAcqMetaIndex::Custom600Headers - Insert custom request headers /*{{{*/
// ---------------------------------------------------------------------
-/* The only header we use is the last-modified header. */
string pkgAcqMetaIndex::Custom600Headers() const
{
string Final = _config->FindDir("Dir::State::lists");
}
}
/*}}}*/
-bool pkgAcqMetaBase::AuthDone(string Message, const string &RealURI) /*{{{*/
+bool pkgAcqMetaBase::CheckAuthDone(string Message, const string &RealURI) /*{{{*/
{
// At this point, the gpgv method has succeeded, so there is a
// valid signature from a key in the trusted keyring. We
}
else
{
- if(AuthDone(Message, RealURI) == true)
+ if(CheckAuthDone(Message, RealURI) == true)
{
string FinalFile = _config->FindDir("Dir::State::lists");
FinalFile += URItoFileName(RealURI);
* \param Message The message block received from the fetch
* subprocess.
*/
- bool AuthDone(std::string Message, const std::string &RealURI);
+ bool CheckAuthDone(std::string Message, const std::string &RealURI);
/** \brief Check that the release file is a release file for the
* correct distribution.