pen_t vendor, received_vendor;
uint16_t eap_len;
size_t eap_pos = 0;
- bool concatenated = FALSE;
+ bool concatenated DBG_UNUSED = FALSE;
do
{
private_eap_ttls_peer_t *this, bio_writer_t *writer)
{
chunk_t data;
- eap_code_t code;
- eap_type_t type;
- pen_t vendor;
if (this->method == NULL && this->start_phase2)
{
if (this->out)
{
- code = this->out->get_code(this->out);
- type = this->out->get_type(this->out, &vendor);
+#if DEBUG_LEVEL >= 1
+ pen_t vendor;
+ eap_code_t code = this->out->get_code(this->out);
+ eap_type_t type = this->out->get_type(this->out, &vendor);
DBG1(DBG_IKE, "sending tunneled EAP-TTLS AVP [EAP/%N/%N]",
- eap_code_short_names, code, eap_type_short_names, type);
-
+ eap_code_short_names, code, eap_type_short_names, type);
+#endif
/* get the raw EAP message data */
data = this->out->get_data(this->out);
this->avp->build(this->avp, writer, data);
private_eap_ttls_server_t *this, bio_writer_t *writer)
{
chunk_t data;
- eap_code_t code;
- eap_type_t type;
- pen_t vendor;
if (this->method == NULL && this->start_phase2 &&
lib->settings->get_bool(lib->settings,
if (this->out)
{
- code = this->out->get_code(this->out);
- type = this->out->get_type(this->out, &vendor);
+#if DEBUG_LEVEL >= 1
+ pen_t vendor;
+ eap_code_t code = this->out->get_code(this->out);
+ eap_type_t type = this->out->get_type(this->out, &vendor);
DBG1(DBG_IKE, "sending tunneled EAP-TTLS AVP [EAP/%N/%N]",
- eap_code_short_names, code, eap_type_short_names, type);
+ eap_code_short_names, code, eap_type_short_names, type);
+#endif
/* get the raw EAP message data */
data = this->out->get_data(this->out);