Merge pull request #9900 from julek-wolfssl/fenrir/357

Use ConstantCompare in EchCheckAcceptance
This commit is contained in:
Daniel Pouzzner
2026-03-06 22:21:44 -06:00
committed by GitHub
+1 -1
View File
@@ -4949,7 +4949,7 @@ static int EchCheckAcceptance(WOLFSSL* ssl, byte* label, word16 labelSz,
}
if (ret == 0) {
/* last 8 bytes should match our expand output */
ret = XMEMCMP(acceptConfirmation, input + acceptOffset,
ret = ConstantCompare(acceptConfirmation, input + acceptOffset,
ECH_ACCEPT_CONFIRMATION_SZ);
/* ech accepted */
if (ret == 0) {