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:
parent
f08362e9ce
commit
847665ebec
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue