mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2026-05-09 03:04:24 +02:00
Fix issues found by the CI
- MSVC doesn't like -1u - We need to include platform.h for MBEDTLS_ERR_PLATFORM_FAULT_DETECTED - in some configurations it was already included indirectly, but not in all configurations, so better include it directly.
This commit is contained in:
@@ -43,6 +43,7 @@
|
||||
#include "mbedtls/x509_internal.h"
|
||||
#include "mbedtls/oid.h"
|
||||
#include "mbedtls/platform_util.h"
|
||||
#include "mbedtls/platform.h"
|
||||
|
||||
#include <string.h>
|
||||
|
||||
@@ -3780,7 +3781,7 @@ int mbedtls_x509_crt_verify_restartable( mbedtls_x509_crt *crt,
|
||||
int ret;
|
||||
mbedtls_x509_crt_verify_chain ver_chain;
|
||||
uint32_t ee_flags;
|
||||
volatile uint32_t flags_fi = -1u;
|
||||
volatile uint32_t flags_fi = (uint32_t) -1;
|
||||
|
||||
*flags = 0;
|
||||
ee_flags = 0;
|
||||
|
||||
Reference in New Issue
Block a user