diff --git a/nts_ke_client.c b/nts_ke_client.c index d895bf1..d1936b6 100644 --- a/nts_ke_client.c +++ b/nts_ke_client.c @@ -143,9 +143,10 @@ process_response(NKC_Instance inst) break; if (length > sizeof (data)) { - DEBUG_LOG("Record too long type=%d length=%d", type, length); - error = 1; - break; + DEBUG_LOG("Record too long type=%d length=%d critical=%d", type, length, critical); + if (critical) + error = 1; + continue; } switch (type) {