}
attr_list->destroy(attr_list);
+ /* check the IMV state for the next PA-TNC attributes to send */
+ result = send_message(connection_id);
+
if (attestation_state->get_handshake_state(attestation_state) ==
IMV_ATTESTATION_STATE_END)
{
connection_id);
}
- return send_message(connection_id);
+ return result;
}
/**