Skip to content

Commit

Permalink
crypto/x509/x509_vpm.c: update format of X509_VERIFY_PARAM default_table
Browse files Browse the repository at this point in the history
Put "}," on separate lines as suggested in PR openssl#18567

Reviewed-by: Paul Dale <[email protected]>
Reviewed-by: Tomas Mraz <[email protected]>
(Merged from openssl#18567)
  • Loading branch information
ljaenicke authored and t8m committed Aug 18, 2022
1 parent 58135cb commit 1a68a3e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions crypto/x509/x509_vpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand All @@ -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 */
Expand All @@ -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 */
Expand All @@ -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 */
Expand All @@ -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;
Expand Down

0 comments on commit 1a68a3e

Please sign in to comment.