Commit f2b0b4fd authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

[2094] (unrelated fix) NSEC's next name shouldn't be compressed per RFC3597.

parent 7e156191
......@@ -124,7 +124,9 @@ NSEC::toWire(OutputBuffer& buffer) const {
NSEC::toWire(AbstractMessageRenderer& renderer) const {
// Type NSEC is not "well-known", and name compression must be disabled
// per RFC3597.
renderer.writeName(impl_->nextname_, false);
renderer.writeData(&impl_->typebits_[0], impl_->typebits_.size());
Supports Markdown
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