mirror of https://github.com/aria2/aria2
Fixed compile error without message digest support.
parent
dfd214b3db
commit
33ba91fbc6
|
@ -349,6 +349,7 @@ std::string IndexOutOptionHandler::createPossibleValuesString() const
|
||||||
return "INDEX=PATH";
|
return "INDEX=PATH";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef ENABLE_MESSAGE_DIGEST
|
||||||
ChecksumOptionHandler::ChecksumOptionHandler
|
ChecksumOptionHandler::ChecksumOptionHandler
|
||||||
(const Pref* pref,
|
(const Pref* pref,
|
||||||
const std::string& description,
|
const std::string& description,
|
||||||
|
@ -375,6 +376,7 @@ std::string ChecksumOptionHandler::createPossibleValuesString() const
|
||||||
{
|
{
|
||||||
return "HASH_TYPE=HEX_DIGEST";
|
return "HASH_TYPE=HEX_DIGEST";
|
||||||
}
|
}
|
||||||
|
#endif // ENABLE_MESSAGE_DIGEST
|
||||||
|
|
||||||
ParameterOptionHandler::ParameterOptionHandler
|
ParameterOptionHandler::ParameterOptionHandler
|
||||||
(const Pref* pref,
|
(const Pref* pref,
|
||||||
|
|
|
@ -161,6 +161,7 @@ public:
|
||||||
virtual std::string createPossibleValuesString() const;
|
virtual std::string createPossibleValuesString() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifdef ENABLE_MESSAGE_DIGEST
|
||||||
class ChecksumOptionHandler : public AbstractOptionHandler {
|
class ChecksumOptionHandler : public AbstractOptionHandler {
|
||||||
public:
|
public:
|
||||||
ChecksumOptionHandler(const Pref* pref,
|
ChecksumOptionHandler(const Pref* pref,
|
||||||
|
@ -170,6 +171,7 @@ public:
|
||||||
virtual void parseArg(Option& option, const std::string& optarg);
|
virtual void parseArg(Option& option, const std::string& optarg);
|
||||||
virtual std::string createPossibleValuesString() const;
|
virtual std::string createPossibleValuesString() const;
|
||||||
};
|
};
|
||||||
|
#endif // ENABLE_MESSAGE_DIGEST
|
||||||
|
|
||||||
class ParameterOptionHandler : public AbstractOptionHandler {
|
class ParameterOptionHandler : public AbstractOptionHandler {
|
||||||
private:
|
private:
|
||||||
|
|
Loading…
Reference in New Issue