tests: Fix EAP-FAST protocol testing with python3

This was hit on Ubuntu 18.04 (newer python3 and OpenSSL library versions
compared to earlier tests).

Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
Jouni Malinen 2019-02-05 15:50:45 +02:00
parent e339511007
commit 43e3114c5f

View file

@ -8163,7 +8163,7 @@ def run_eap_fast_phase2(dev, test_payload, test_failure=True):
except AttributeError: except AttributeError:
state = conn.get_state_string() state = conn.get_state_string()
if state: if state:
logger.info("State: " + state) logger.info("State: " + str(state))
def process_clienthello(ctx, payload): def process_clienthello(ctx, payload):
logger.info("Process ClientHello") logger.info("Process ClientHello")