Merge remote-tracking branch 'origin/pr/2213' into development

This commit is contained in:
Jaeden Amero 2019-01-30 15:01:20 +00:00
commit 14eca249f1
2 changed files with 3 additions and 1 deletions

View file

@ -15,6 +15,8 @@ Bugfix
* Remove a duplicate #include in a sample program. Fixed by Masashi Honma #2326. * Remove a duplicate #include in a sample program. Fixed by Masashi Honma #2326.
* Remove the mbedtls namespacing from the header file, to fix a "file not found" * Remove the mbedtls namespacing from the header file, to fix a "file not found"
build error. Fixed by Haijun Gu #2319. build error. Fixed by Haijun Gu #2319.
* Fix signed-to-unsigned integer conversion warning
in X.509 module. Fixes #2212.
Changes Changes
* Include configuration file in all header files that use configuration, * Include configuration file in all header files that use configuration,

View file

@ -368,7 +368,7 @@ static void x509_crt_verify_chain_reset(
for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ ) for( i = 0; i < MBEDTLS_X509_MAX_VERIFY_CHAIN_SIZE; i++ )
{ {
ver_chain->items[i].crt = NULL; ver_chain->items[i].crt = NULL;
ver_chain->items[i].flags = -1; ver_chain->items[i].flags = (uint32_t) -1;
} }
ver_chain->len = 0; ver_chain->len = 0;