mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-09-07 10:49:56 +00:00
Use the correct variable when tracking padding length
Fixes an error introduced in a81373f80
Signed-off-by: Tom Cosgrove <[email protected]>
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user