Skip to content

Commit

Permalink
PR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
maddeleine committed Jul 22, 2024
1 parent 452d81f commit eda4365
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tls/s2n_resume.c
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ S2N_RESULT s2n_resume_decrypt_session_ticket(struct s2n_connection *conn, struct
RESULT_GUARD_POSIX(s2n_stuffer_skip_write(&state_stuffer, state_blob_size));
RESULT_GUARD(s2n_deserialize_resumption_state(conn, &from->blob, &state_stuffer));

if (s2n_connection_get_protocol_version(conn) >= S2N_TLS13 || !conn->config->use_tickets) {
if (s2n_connection_get_protocol_version(conn) >= S2N_TLS13 || conn->config->use_session_cache) {
return S2N_RESULT_OK;
}

Expand Down

0 comments on commit eda4365

Please sign in to comment.