Skip to content

Commit 14eca24

Browse files
committed
Merge remote-tracking branch 'origin/pr/2213' into development
2 parents c89148b + 1b6d2b2 commit 14eca24

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ Bugfix
1515
* Remove a duplicate #include in a sample program. Fixed by Masashi Honma #2326.
1616
* Remove the mbedtls namespacing from the header file, to fix a "file not found"
1717
build error. Fixed by Haijun Gu #2319.
18+
* Fix signed-to-unsigned integer conversion warning
19+
in X.509 module. Fixes #2212.
1820

1921
Changes
2022
* Include configuration file in all header files that use configuration,

library/x509_crt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -368,7 +368,7 @@ static void x509_crt_verify_chain_reset(
368368
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
369369
{
370370
ver_chain->items[i].crt = NULL;
371-
ver_chain->items[i].flags = -1;
371+
ver_chain->items[i].flags = (uint32_t) -1;
372372
}
373373

374374
ver_chain->len = 0;

0 commit comments

Comments
 (0)