mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2026-07-05 23:10:48 +02:00
Use ConstantCompare in EchCheckAcceptance
F-357
This commit is contained in:
+1
-1
@@ -4945,7 +4945,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) {
|
||||
|
||||
Reference in New Issue
Block a user