Remove remaining redundant casts
Signed-off-by: Agathiyan Bragadeesh <agathiyan.bragadeesh2@arm.com>
This commit is contained in:
parent
d298b76421
commit
93a859341b
1 changed files with 2 additions and 2 deletions
|
@ -748,14 +748,14 @@ int mbedtls_test_psa_exported_key_sanity_check(
|
|||
MBEDTLS_ASN1_SEQUENCE |
|
||||
MBEDTLS_ASN1_CONSTRUCTED),
|
||||
0);
|
||||
TEST_EQUAL(len, (uintptr_t) end - (uintptr_t) p);
|
||||
TEST_EQUAL(len, end - p);
|
||||
if (!mbedtls_test_asn1_skip_integer(&p, end, bits, bits, 1)) {
|
||||
goto exit;
|
||||
}
|
||||
if (!mbedtls_test_asn1_skip_integer(&p, end, 2, bits, 1)) {
|
||||
goto exit;
|
||||
}
|
||||
TEST_EQUAL((uintptr_t) p - (uintptr_t) end, 0);
|
||||
TEST_EQUAL(p - end, 0);
|
||||
|
||||
|
||||
TEST_ASSERT(exported_length <=
|
||||
|
|
Loading…
Reference in a new issue