From 1a68a3e42142a2c188f4b69c7337438c89502143 Mon Sep 17 00:00:00 2001 From: Lutz Jaenicke Date: Wed, 15 Jun 2022 14:25:54 +0200 Subject: [PATCH] crypto/x509/x509_vpm.c: update format of X509_VERIFY_PARAM default_table Put "}," on separate lines as suggested in PR #18567 Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/18567) --- crypto/x509/x509_vpm.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c index d11aa2341a096..b974f9ab89599 100644 --- a/crypto/x509/x509_vpm.c +++ b/crypto/x509/x509_vpm.c @@ -512,7 +512,8 @@ static const X509_VERIFY_PARAM default_table[] = { 100, /* depth */ -1, /* auth_level */ NULL, /* policies */ - vpm_empty_id}, + vpm_empty_id + }, { "pkcs7", /* S/MIME sign parameters */ 0, /* check time to use */ @@ -523,7 +524,8 @@ static const X509_VERIFY_PARAM default_table[] = { -1, /* depth */ -1, /* auth_level */ NULL, /* policies */ - vpm_empty_id}, + vpm_empty_id + }, { "smime_sign", /* S/MIME sign parameters */ 0, /* check time to use */ @@ -534,7 +536,8 @@ static const X509_VERIFY_PARAM default_table[] = { -1, /* depth */ -1, /* auth_level */ NULL, /* policies */ - vpm_empty_id}, + vpm_empty_id + }, { "ssl_client", /* SSL/TLS client parameters */ 0, /* check time to use */ @@ -545,7 +548,8 @@ static const X509_VERIFY_PARAM default_table[] = { -1, /* depth */ -1, /* auth_level */ NULL, /* policies */ - vpm_empty_id}, + vpm_empty_id + }, { "ssl_server", /* SSL/TLS server parameters */ 0, /* check time to use */ @@ -556,7 +560,8 @@ static const X509_VERIFY_PARAM default_table[] = { -1, /* depth */ -1, /* auth_level */ NULL, /* policies */ - vpm_empty_id} + vpm_empty_id + } }; static STACK_OF(X509_VERIFY_PARAM) *param_table = NULL;