From: Lutz Jaenicke Date: Wed, 15 Jun 2022 12:25:54 +0000 (+0200) Subject: crypto/x509/x509_vpm.c: update format of X509_VERIFY_PARAM default_table X-Git-Tag: openssl-3.2.0-alpha1~2266 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1a68a3e42142a2c188f4b69c7337438c89502143;p=thirdparty%2Fopenssl.git 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) --- diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c index d11aa2341a0..b974f9ab895 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;