Skip to content

Commit eaef832

Browse files
committed
Use ConstantCompare in EchCheckAcceptance
F-357
1 parent 8093875 commit eaef832

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/tls13.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4945,7 +4945,7 @@ static int EchCheckAcceptance(WOLFSSL* ssl, byte* label, word16 labelSz,
49454945
}
49464946
if (ret == 0) {
49474947
/* last 8 bytes should match our expand output */
4948-
ret = XMEMCMP(acceptConfirmation, input + acceptOffset,
4948+
ret = ConstantCompare(acceptConfirmation, input + acceptOffset,
49494949
ECH_ACCEPT_CONFIRMATION_SZ);
49504950
/* ech accepted */
49514951
if (ret == 0) {

0 commit comments

Comments
 (0)