diff options
Diffstat (limited to 'src/lib/dns/tests/rdata_dnskey_unittest.cc')
-rw-r--r-- | src/lib/dns/tests/rdata_dnskey_unittest.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/dns/tests/rdata_dnskey_unittest.cc b/src/lib/dns/tests/rdata_dnskey_unittest.cc index f0596ed989..86b8f69725 100644 --- a/src/lib/dns/tests/rdata_dnskey_unittest.cc +++ b/src/lib/dns/tests/rdata_dnskey_unittest.cc @@ -90,8 +90,8 @@ TEST_F(Rdata_DNSKEY_Test, toWireRenderer) { vector<unsigned char> data; UnitTestUtil::readWireData("rdata_dnskey_fromWire", data); EXPECT_PRED_FORMAT4(UnitTestUtil::matchWireData, - static_cast<const uint8_t *>(obuffer.getData()) + 2, - obuffer.getLength() - 2, &data[2], data.size() - 2); + static_cast<const uint8_t *>(renderer.getData()) + 2, + renderer.getLength() - 2, &data[2], data.size() - 2); } TEST_F(Rdata_DNSKEY_Test, toWireBuffer) { |