Exempt ignored PA-TNC attributes from error handling

This commit is contained in:
Andreas Steffen
2015-05-20 06:13:15 +02:00
parent c077642cbd
commit e6952442f2
+7
View File
@@ -225,9 +225,16 @@ METHOD(pa_tnc_msg_t, process, status_t,
attr = imcv_pa_tnc_attributes->create(imcv_pa_tnc_attributes, attr = imcv_pa_tnc_attributes->create(imcv_pa_tnc_attributes,
reader, FALSE, &offset, this->encoding, &error); reader, FALSE, &offset, this->encoding, &error);
if (!attr) if (!attr)
{
if (error)
{ {
goto err; goto err;
} }
else
{
continue;
}
}
attr_value = attr->get_value(attr); attr_value = attr->get_value(attr);
attr_type = attr->get_type(attr); attr_type = attr->get_type(attr);