Browse Source

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

Paul Selkirk 12 years ago
parent
commit
adc3e2f94d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/rdata/any_255/tsig_250.cc

+ 1 - 1
src/lib/dns/rdata/any_255/tsig_250.cc

@@ -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;