From eb1596dc9fea49c535607739aacd75bbda376ffc Mon Sep 17 00:00:00 2001 From: "osboxes.org" Date: Tue, 31 Dec 2019 22:22:03 +0100 Subject: [PATCH] style --- common/mbedtls/camellia.c | 16 ++++++++-------- common/mbedtls/x509_crt.c | 2 +- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/common/mbedtls/camellia.c b/common/mbedtls/camellia.c index bb4169ab4..c0597d8fa 100644 --- a/common/mbedtls/camellia.c +++ b/common/mbedtls/camellia.c @@ -217,16 +217,16 @@ static const signed char indexes[2][4][20] = { }, /* KL -> RK */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 - }, /* KR -> RK */ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 + }, /* KR -> RK */ { 4, 5, 6, 7, 12, 13, 14, 15, 16, 17, 18, 19, -1, 24, 25, -1, 31, 28, 29, 30 }, /* KA -> RK */ { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, - -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 - } /* KB -> RK */ + -1, -1, -1, -1, -1, -1, -1, -1, -1, -1 + } /* KB -> RK */ }, { { @@ -235,12 +235,12 @@ static const signed char indexes[2][4][20] = { }, /* KL -> RK */ { -1, -1, -1, -1, 8, 9, 10, 11, 16, 17, - 18, 19, -1, -1, -1, -1, 39, 36, 37, 38 - }, /* KR -> RK */ + 18, 19, -1, -1, -1, -1, 39, 36, 37, 38 + }, /* KR -> RK */ { -1, -1, -1, -1, 12, 13, 14, 15, 58, 59, - 56, 57, 31, 28, 29, 30, -1, -1, -1, -1 - }, /* KA -> RK */ + 56, 57, 31, 28, 29, 30, -1, -1, -1, -1 + }, /* KA -> RK */ { 4, 5, 6, 7, 65, 66, 67, 64, 20, 21, 22, 23, -1, -1, -1, -1, 43, 40, 41, 42 diff --git a/common/mbedtls/x509_crt.c b/common/mbedtls/x509_crt.c index de3e5ece8..9f8e64ed6 100644 --- a/common/mbedtls/x509_crt.c +++ b/common/mbedtls/x509_crt.c @@ -2223,7 +2223,7 @@ exit: ret = MBEDTLS_ERR_X509_FATAL_ERROR; if (ret != 0) { - *flags = (uint32_t) -1; + *flags = (uint32_t) - 1; return (ret); }