if (otherlen > 0xffff) {
isc_throw(InvalidRdataText, "TSIG Other Len out of range");
}
- const string otherdata_txt = (otherlen > 0) ?
+ const string otherdata_txt = (otherlen > 0) ?
lexer.getNextToken(MasterToken::STRING).getString() : "";
vector<uint8_t> other_data;
decodeBase64(otherdata_txt, other_data);
/// RDATA to be created
TSIG::TSIG(MasterLexer& lexer, const Name*,
MasterLoader::Options, MasterLoaderCallbacks&) :
- impl_(NULL)
+ impl_(constructFromLexer(lexer))
{
- impl_ = constructFromLexer(lexer);
}
/// \brief Constructor from wire-format data.