wolfSSL: Fix conditional EAP-FAST compilation issue

Variable name was partially renamed during earlier cleanup.

Signed-off-by: Sean Parkinson <sean@wolfssl.com>
This commit is contained in:
Sean Parkinson 2018-03-29 14:55:55 +10:00 committed by Jouni Malinen
parent f08362e9ce
commit 847665ebec

View File

@ -2037,14 +2037,15 @@ static int tls_sess_sec_cb(WOLFSSL *s, void *secret, int *secret_len, void *arg)
sizeof(client_random)) == 0 ||
wolfSSL_get_server_random(s, server_random,
sizeof(server_random)) == 0 ||
wolfSSL_get_SessionTicket(s, conn->session_ticket, &ticketLen) != 1)
wolfSSL_get_SessionTicket(s, conn->session_ticket,
&ticket_len) != 1)
return 1;
if (ticket_len == 0)
return 0;
ret = conn->session_ticket_cb(conn->session_ticket_cb_ctx,
conn->session_ticket, ticketLen,
conn->session_ticket, ticket_len,
client_random, server_random, secret);
if (ret <= 0)
return 1;