1
0
mirror of https://github.com/ARMmbed/mbedtls.git synced 2025-05-10 00:49:04 +08:00

Fixup: Correct signedness of val local variable

Signed-off-by: David Horstmann <david.horstmann@arm.com>
This commit is contained in:
David Horstmann 2023-02-21 16:20:52 +00:00
parent 0f4ee418d8
commit 7cdfda12da

View File

@ -950,7 +950,7 @@ int mbedtls_oid_from_numeric_string(mbedtls_asn1_buf *oid,
const char *str_ptr = oid_str; const char *str_ptr = oid_str;
const char *str_bound = oid_str + size; const char *str_bound = oid_str + size;
int val = 0; unsigned int val = 0;
size_t encoded_len; size_t encoded_len;
unsigned int component1, component2; unsigned int component1, component2;