diff --git a/tests/tcmpkeys.c b/tests/tcmpkeys.c index ac338485..b261729c 100644 --- a/tests/tcmpkeys.c +++ b/tests/tcmpkeys.c @@ -16,7 +16,9 @@ static void ossl_err_print(void) const char *file, *func, *data; int line; err = ERR_get_error_all(&file, &line, &func, &data, NULL); - if (err == 0) break; + if (err == 0) { + break; + } char buf[1024]; ERR_error_string_n(err, buf, sizeof(buf)); @@ -28,7 +30,9 @@ static void ossl_err_print(void) first = false; } - if (first) fprintf(stderr, "\n"); + if (first) { + fprintf(stderr, "\n"); + } } static EVP_PKEY *load_key(const char *uri) diff --git a/tests/tlsctx.c b/tests/tlsctx.c index da164d07..8e159430 100644 --- a/tests/tlsctx.c +++ b/tests/tlsctx.c @@ -14,7 +14,9 @@ static void ossl_err_print(void) const char *file, *func, *data; int line; err = ERR_get_error_all(&file, &line, &func, &data, NULL); - if (err == 0) break; + if (err == 0) { + break; + } char buf[1024]; ERR_error_string_n(err, buf, sizeof(buf)); @@ -26,7 +28,9 @@ static void ossl_err_print(void) first = false; } - if (first) fprintf(stderr, "\n"); + if (first) { + fprintf(stderr, "\n"); + } } int main(int argc, char *argv[])