]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
crypto/x509/x509_vpm.c: update format of X509_VERIFY_PARAM default_table
authorLutz Jaenicke <ljaenicke@phoenixcontact.com>
Wed, 15 Jun 2022 12:25:54 +0000 (14:25 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 18 Aug 2022 08:24:17 +0000 (10:24 +0200)
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)

crypto/x509/x509_vpm.c

index d11aa2341a0966e4b16243de646580ac3c3cc533..b974f9ab89599fdaa96bce878d369d14f316f39d 100644 (file)
@@ -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;