Browse Source

[2521] RRSIG signer can be a reference, maybe a bit more efficient

Paul Selkirk 12 years ago
parent
commit
225a1e04ba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/rdata/generic/rrsig_46.cc

+ 1 - 1
src/lib/dns/rdata/generic/rrsig_46.cc

@@ -98,7 +98,7 @@ RRSIG::constructFromLexer(MasterLexer& lexer, const Name* origin) {
     if (tag > 0xffff) {
         isc_throw(InvalidRdataText, "RRSIG key tag out of range");
     }
-    const Name signer = createNameFromLexer(lexer, origin);
+    const Name& signer = createNameFromLexer(lexer, origin);
 
     string signature_txt;
     string signature_part;