aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLutz Jaenicke <ljaenicke@phoenixcontact.com>2022-06-15 14:25:54 +0200
committerTomas Mraz <tomas@openssl.org>2022-08-18 10:24:17 +0200
commit1a68a3e42142a2c188f4b69c7337438c89502143 (patch)
tree7e8cc8822adb80578ef332cc9182fdd40ad957d0
parent58135cb3c020805354ecc869aca040934d1299c8 (diff)
downloadopenssl-1a68a3e42142a2c188f4b69c7337438c89502143.tar.gz
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 <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/18567)
-rw-r--r--crypto/x509/x509_vpm.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/crypto/x509/x509_vpm.c b/crypto/x509/x509_vpm.c
index d11aa2341a..b974f9ab89 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;