mirror of
https://github.com/yuzu-mirror/mbedtls.git
synced 2026-03-03 03:53:53 +01:00
Use the correct variable when tracking padding length
Fixes an error introduced in a81373f80
Signed-off-by: Tom Cosgrove <tom.cosgrove@arm.com>
This commit is contained in:
parent
2b0d53a2a8
commit
9d8a7d62f5
|
|
@ -1973,7 +1973,7 @@ hmac_failed_etm_enabled:
|
|||
increment = mbedtls_ct_size_if_else_0(b, increment);
|
||||
pad_count += increment;
|
||||
}
|
||||
correct = mbedtls_ct_size_if_else_0(mbedtls_ct_uint_eq(pad_count, padlen), padlen);
|
||||
correct = mbedtls_ct_size_if_else_0(mbedtls_ct_uint_eq(pad_count, padlen), correct);
|
||||
|
||||
#if defined(MBEDTLS_SSL_DEBUG_ALL)
|
||||
if (padlen > 0 && correct == 0) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue