Changeset 2381

Show
Ignore:
Timestamp:
02/10/12 18:07:28 (16 months ago)
Author:
peter
Message:

Make sure we always group RRs while generating RRSIGs. Reported by Mark Scholten.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/dnssecsigner.cc

    r2318 r2381  
    147147static bool rrsigncomp(const DNSResourceRecord& a, const DNSResourceRecord& b) 
    148148{ 
    149   return a.d_place < b.d_place; 
     149  return tie(a.d_place, a.qtype) < tie(b.d_place, b.qtype); 
    150150} 
    151151