Skip to content

Commit 313d27d

Browse files
authored
Merge pull request #9900 from julek-wolfssl/fenrir/357
Use ConstantCompare in EchCheckAcceptance
2 parents 6c37629 + eaef832 commit 313d27d

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
@@ -4949,7 +4949,7 @@ static int EchCheckAcceptance(WOLFSSL* ssl, byte* label, word16 labelSz,
49494949
}
49504950
if (ret == 0) {
49514951
/* last 8 bytes should match our expand output */
4952-
ret = XMEMCMP(acceptConfirmation, input + acceptOffset,
4952+
ret = ConstantCompare(acceptConfirmation, input + acceptOffset,
49534953
ECH_ACCEPT_CONFIRMATION_SZ);
49544954
/* ech accepted */
49554955
if (ret == 0) {

0 commit comments

Comments
 (0)