mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-29 02:38:22 -05:00
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
@ -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 New Issue
Block a user