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

minor cleanups


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1453 e5f2f494-b856-4b98-b285-d166d9295462
parent 8195980f
......@@ -83,10 +83,9 @@ DNSKEY::DNSKEY(const string& dnskey_str) :
impl_ = new DNSKEYImpl(flags, protocol, algorithm, keydata);
}
DNSKEY::DNSKEY(InputBuffer& buffer, size_t rdata_len)
{
DNSKEY::DNSKEY(InputBuffer& buffer, size_t rdata_len) {
if (rdata_len < 4) {
isc_throw(InvalidRdataLength, "DNSKEY too short");
isc_throw(InvalidRdataLength, "DNSKEY too short: " << rdata_len);
}
uint16_t flags = buffer.readUint16();
......
Markdown is supported
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