Commit d8e429d6 authored by Mukund Sivaraman's avatar Mukund Sivaraman
Browse files

[2164] Add getRRsigDataCount() implementation to RBNodeRRset too

parent eaef6b23
......@@ -623,6 +623,11 @@ RBNodeRRset::getRRsig() const {
return (impl_->rrset_->getRRsig());
unsigned int
RBNodeRRset::getRRsigDataCount() const {
return (impl_->rrset_->getRRsigDataCount());
RBNodeRRset::addRRsig(const ConstRdataPtr& rdata) {
AbstractRRset* p = const_cast<AbstractRRset*>(impl_->rrset_.get());
......@@ -154,6 +154,8 @@ public:
virtual isc::dns::RRsetPtr getRRsig() const;
virtual unsigned int getRRsigDataCount() const;
// With all the RRsig methods, we have the problem that we store the
// underlying RRset using a ConstRRsetPtr - a pointer to a "const" RRset -
// but we need to modify it by adding or removing an RRSIG. We overcome
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