Skip to content

Commit

Permalink
fixup! fixup! fixup! fixup! fixup! fixup! Place start of ClientHello …
Browse files Browse the repository at this point in the history
…correctly when calculating binder for DTLS 1.3
  • Loading branch information
fwh-dc committed May 30, 2024
1 parent 5f5df71 commit 976eb36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ssl/statem/statem_dtls.c
Original file line number Diff line number Diff line change
Expand Up @@ -152,9 +152,10 @@ int dtls1_do_write(SSL_CONNECTION *s, uint8_t type)
} else if (ossl_assert(type == SSL3_RT_CHANGE_CIPHER_SPEC)) {
msg_type = SSL3_MT_CCS;
msg_len = 0; /* SSL3_RT_CHANGE_CIPHER_SPEC */
} else
} else {
/* Other record types are not supported */
return -1;
}

if (!dtls1_query_mtu(s))
return -1;
Expand Down

0 comments on commit 976eb36

Please sign in to comment.