Fix code style

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2023-10-18 17:39:48 +02:00
parent bbd92917d8
commit f2574206e5
2 changed files with 3 additions and 3 deletions

View File

@ -932,7 +932,7 @@ void mbedtls_x509_dn_get_next(char *name_str,
memset(&parsed, 0, sizeof(parsed));
mbedtls_x509_name *parsed_cur;
// Size of buf is maximum required for test cases
unsigned char buf[80] = {0};
unsigned char buf[80] = { 0 };
unsigned char *out = NULL;
unsigned char *c = buf + sizeof(buf);
const char *short_name;

View File

@ -703,8 +703,8 @@ void mbedtls_x509_string_to_names(char *name, char *parsed_name,
memset(&parsed, 0, sizeof(parsed));
mbedtls_x509_name *parsed_cur = NULL;
mbedtls_x509_name *parsed_prv = NULL;
unsigned char buf[1024] = {0};
unsigned char out[1024] = {0};
unsigned char buf[1024] = { 0 };
unsigned char out[1024] = { 0 };
unsigned char *c = buf + sizeof(buf);
USE_PSA_INIT();