Commit 9bfdf12f authored by Paul Selkirk's avatar Paul Selkirk
Browse files

[2522] TSIG algorigthm can be a reference, maybe a bit more efficient

parent 4daf58b6
......@@ -79,7 +79,7 @@ TSIG::constructFromLexer(MasterLexer& lexer) {
// but it's not actually a domain name, so we allow it to be not
// fully qualified.
const Name root(".");
const Name algorithm = createNameFromLexer(lexer, &root);
const Name& algorithm = createNameFromLexer(lexer, &root);
const string time_str = lexer.getNextToken(MasterToken::STRING).getString();
uint64_t time_signed;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment