mirror of
https://github.com/vanhoefm/fragattacks.git
synced 2024-11-28 18:28:23 -05:00
TLS server: Local failure information on verify_data mismatch
Mark connection state FAILED in this case even though TLS Alert is not sent. Signed-off-by: Jouni Malinen <j@w1.fi>
This commit is contained in:
parent
f08ab18bf9
commit
19dd7a736e
@ -1245,6 +1245,7 @@ static int tls_process_client_finished(struct tlsv1_server *conn, u8 ct,
|
||||
|
||||
if (os_memcmp_const(pos, verify_data, TLS_VERIFY_DATA_LEN) != 0) {
|
||||
tlsv1_server_log(conn, "Mismatch in verify_data");
|
||||
conn->state = FAILED;
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user