summaryrefslogtreecommitdiffstats
path: root/lib/dns/rdata/generic
diff options
context:
space:
mode:
Diffstat (limited to 'lib/dns/rdata/generic')
-rw-r--r--lib/dns/rdata/generic/keydata_65533.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dns/rdata/generic/keydata_65533.c b/lib/dns/rdata/generic/keydata_65533.c
index 2592c30..317e1a8 100644
--- a/lib/dns/rdata/generic/keydata_65533.c
+++ b/lib/dns/rdata/generic/keydata_65533.c
@@ -176,7 +176,7 @@ fromwire_keydata(ARGS_FROMWIRE) {
UNUSED(options);
isc_buffer_activeregion(source, &sr);
- if (sr.length < 4)
+ if (sr.length < 16)
return (ISC_R_UNEXPECTEDEND);
isc_buffer_forward(source, sr.length);
OpenPOWER on IntegriCloud