[rs-commit] r51 - /mod_ca/trunk/mod_ca_simple.c

rs-commit at redwax.eu rs-commit at redwax.eu
Sun Apr 21 13:31:10 CEST 2019


Author: minfrin at redwax.eu
Date: Sun Apr 21 13:31:10 2019
New Revision: 51

Log:
Format.

Modified:
    mod_ca/trunk/mod_ca_simple.c

Modified: mod_ca/trunk/mod_ca_simple.c
==============================================================================
--- mod_ca/trunk/mod_ca_simple.c	(original)
+++ mod_ca/trunk/mod_ca_simple.c	Sun Apr 21 13:31:10 2019
@@ -1038,31 +1038,33 @@
 }
 
 static const command_rec ca_cmds[] =
-        { AP_INIT_TAKE1("CASimpleCertificate",
-                set_signing_certificate, NULL, RSRC_CONF | ACCESS_CONF,
-                "Filename of certificate chain: signing certificate first, CA certificate last."),
-                AP_INIT_TAKE1("CASimpleKey",
-                        set_signing_key, NULL, RSRC_CONF | ACCESS_CONF,
-                        "Filename of the signing key."),
-                        AP_INIT_TAKE1("CASimpleNextCertificate",
-                                set_next_signing_certificate, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Filename of the next CA certificate to follow this one, if any."),
-                        AP_INIT_TAKE1("CASimpleDays",
-                                set_ca_days, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Set to the number of days the certificate must be signed for."),
-                        AP_INIT_FLAG("CASimpleSerialRandom",
-                                set_ca_serial_random, NULL, RSRC_CONF | ACCESS_CONF,
-                                "When enabled, a random serial number will be allocated."),
-                        AP_INIT_FLAG("CASimpleSerialSubject",
-                                set_ca_serial_subject, NULL, RSRC_CONF | ACCESS_CONF,
-                                "When enabled, the serial number will be allocated from the certificate sign request, if present."),
-                        AP_INIT_FLAG("CASimpleTime",
-                                set_ca_time, NULL, RSRC_CONF | ACCESS_CONF,
-                                "When enabled, the time will be obtained from the system time."),
-                        AP_INIT_TAKE2("CASimpleExtension",
-                                set_ca_extension, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Certificate extension to add to the certificate when signed."),
-                { NULL } };
+{
+    AP_INIT_TAKE1("CASimpleCertificate",
+            set_signing_certificate, NULL, RSRC_CONF | ACCESS_CONF,
+            "Filename of certificate chain: signing certificate first, CA certificate last."),
+    AP_INIT_TAKE1("CASimpleKey",
+            set_signing_key, NULL, RSRC_CONF | ACCESS_CONF,
+            "Filename of the signing key."),
+    AP_INIT_TAKE1("CASimpleNextCertificate",
+            set_next_signing_certificate, NULL, RSRC_CONF | ACCESS_CONF,
+            "Filename of the next CA certificate to follow this one, if any."),
+    AP_INIT_TAKE1("CASimpleDays",
+            set_ca_days, NULL, RSRC_CONF | ACCESS_CONF,
+            "Set to the number of days the certificate must be signed for."),
+    AP_INIT_FLAG("CASimpleSerialRandom",
+            set_ca_serial_random, NULL, RSRC_CONF | ACCESS_CONF,
+            "When enabled, a random serial number will be allocated."),
+    AP_INIT_FLAG("CASimpleSerialSubject",
+            set_ca_serial_subject, NULL, RSRC_CONF | ACCESS_CONF,
+            "When enabled, the serial number will be allocated from the certificate sign request, if present."),
+    AP_INIT_FLAG("CASimpleTime",
+            set_ca_time, NULL, RSRC_CONF | ACCESS_CONF,
+            "When enabled, the time will be obtained from the system time."),
+    AP_INIT_TAKE2("CASimpleExtension",
+            set_ca_extension, NULL, RSRC_CONF | ACCESS_CONF,
+            "Certificate extension to add to the certificate when signed."),
+    { NULL }
+};
 
 static apr_status_t ca_cleanup(void *data)
 {
@@ -1099,10 +1101,12 @@
 }
 
 module AP_MODULE_DECLARE_DATA ca_simple_module =
-{ STANDARD20_MODULE_STUFF, create_ca_dir_config, /* dir config creater */
-merge_ca_dir_config, /* dir merger --- default is to override */
-NULL, /* server config */
-NULL, /* merge server config */
-ca_cmds, /* command apr_table_t */
-register_hooks /* register hooks */
+{
+    STANDARD20_MODULE_STUFF,
+    create_ca_dir_config, /* dir config creater */
+    merge_ca_dir_config, /* dir merger --- default is to override */
+    NULL, /* server config */
+    NULL, /* merge server config */
+    ca_cmds, /* command apr_table_t */
+    register_hooks /* register hooks */
 };



More information about the rs-commit mailing list