[rs-commit] r47 - /mod_scep/trunk/mod_scep.c

rs-commit at redwax.eu rs-commit at redwax.eu
Fri Apr 19 23:58:01 CEST 2019


Author: minfrin at redwax.eu
Date: Fri Apr 19 23:58:00 2019
New Revision: 47

Log:
Tab to space.

Modified:
    mod_scep/trunk/mod_scep.c

Modified: mod_scep/trunk/mod_scep.c
==============================================================================
--- mod_scep/trunk/mod_scep.c	(original)
+++ mod_scep/trunk/mod_scep.c	Fri Apr 19 23:58:00 2019
@@ -653,46 +653,50 @@
 }
 
 static const command_rec scep_cmds[] =
-        { AP_INIT_TAKE1("ScepRACertificate",
-                set_ra_certificate, NULL, RSRC_CONF | ACCESS_CONF,
-                "Set to the name of the signing certificate."),
-                AP_INIT_TAKE1("ScepRAKey",
-                        set_ra_key, NULL, RSRC_CONF | ACCESS_CONF,
-                        "Set to the name of the signing key."),
-                AP_INIT_TAKE1("ScepRANextCertificate",
-                        set_ra_next_certificate, NULL, RSRC_CONF | ACCESS_CONF,
-                        "Set to the name of the next RA signing certificate."),
-                        AP_INIT_TAKE1("ScepSize",
-                                set_scep_size, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Set to the maximum size of the SCEP request from the client."),
-                        AP_INIT_TAKE1("ScepLocation",
-                                set_location, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Set to the location of the scep service."),
-                        AP_INIT_TAKE12("ScepSubjectRequest",
-                                set_subject_request, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify fields in the certificate request subject that will be copied over to the certificate, with optional limit to the number of fields that may appear."),
-                        AP_INIT_TAKE2("ScepSubjectCGI",
-                                set_subject_cgi, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify CGI variables in the request that will be included in the certificate subject. DN attribute name first, then CGI variable."),
-                        AP_INIT_TAKE2("ScepSubjectSet",
-                                set_subject_set, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify subject attribute and value that will be included in the certificate."),
-                        AP_INIT_TAKE12("ScepSubjectAltNameRequest",
-                                set_subjectaltname_request, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify fields in the certificate request subjectAltName that will be copied over to the certificate, with optional limit to the number of fields that may appear."),
-                        AP_INIT_TAKE2("ScepSubjectAltNameCGI",
-                                set_subjectaltname_cgi, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify CGI variables in the request that will be included in the certificate subjectAltName. DN attribute name first, then CGI variable."),
-                        AP_INIT_TAKE2("ScepSubjectAltNameSet",
-                                set_subjectaltname_set, NULL, RSRC_CONF | ACCESS_CONF,
-                                "Specify subjectAltName attribute and value that will be included in the certificate."),
-                        AP_INIT_TAKE12("ScepFreshness",
-                                set_scep_freshness, NULL, RSRC_CONF | ACCESS_CONF,
-                                "The age of the certificates will be divided by this factor when added as a max-age, set to zero to disable. Defaults to \"2\". An optional maximum value can be specified, defaults to one day."),
-                        AP_INIT_TAKE1("ScepCRLURL",
-                                set_crl_url, NULL, RSRC_CONF | ACCESS_CONF,
-                                "If set, attempts at GetCRL will be redirected to this URL. GetCRL will be rejected with \"Bad Request\" otherwise."),
-                { NULL } };
+{
+    AP_INIT_TAKE1("ScepRACertificate", set_ra_certificate, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Set to the name of the signing certificate."),
+    AP_INIT_TAKE1(
+            "ScepRAKey", set_ra_key, NULL, RSRC_CONF | ACCESS_CONF,
+            "Set to the name of the signing key."),
+    AP_INIT_TAKE1(
+            "ScepRANextCertificate", set_ra_next_certificate, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Set to the name of the next RA signing certificate."),
+    AP_INIT_TAKE1("ScepSize", set_scep_size, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Set to the maximum size of the SCEP request from the client."),
+    AP_INIT_TAKE1("ScepLocation", set_location, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Set to the location of the scep service."),
+    AP_INIT_TAKE12("ScepSubjectRequest", set_subject_request, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Specify fields in the certificate request subject that will be copied over to the certificate, with optional limit to the number of fields that may appear."),
+    AP_INIT_TAKE2("ScepSubjectCGI", set_subject_cgi, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Specify CGI variables in the request that will be included in the certificate subject. DN attribute name first, then CGI variable."),
+    AP_INIT_TAKE2("ScepSubjectSet", set_subject_set, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Specify subject attribute and value that will be included in the certificate."),
+    AP_INIT_TAKE12("ScepSubjectAltNameRequest",
+            set_subjectaltname_request, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "Specify fields in the certificate request subjectAltName that will be copied over to the certificate, with optional limit to the number of fields that may appear."),
+    AP_INIT_TAKE2("ScepSubjectAltNameCGI", set_subjectaltname_cgi,
+            NULL, RSRC_CONF | ACCESS_CONF,
+            "Specify CGI variables in the request that will be included in the certificate subjectAltName. DN attribute name first, then CGI variable."),
+    AP_INIT_TAKE2("ScepSubjectAltNameSet", set_subjectaltname_set,
+            NULL, RSRC_CONF | ACCESS_CONF,
+            "Specify subjectAltName attribute and value that will be included in the certificate."),
+    AP_INIT_TAKE12("ScepFreshness", set_scep_freshness, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "The age of the certificates will be divided by this factor when added as a max-age, set to zero to disable. Defaults to \"2\". An optional maximum value can be specified, defaults to one day."),
+    AP_INIT_TAKE1("ScepCRLURL", set_crl_url, NULL,
+            RSRC_CONF | ACCESS_CONF,
+            "If set, attempts at GetCRL will be redirected to this URL. GetCRL will be rejected with \"Bad Request\" otherwise."),
+    { NULL }
+};
 
 static apr_status_t scep_BIO_cleanup(void *data)
 {
@@ -2940,10 +2944,11 @@
 }
 
 module AP_MODULE_DECLARE_DATA scep_module =
-{ STANDARD20_MODULE_STUFF, create_scep_dir_config, /* dir config creater */
-merge_scep_dir_config, /* dir merger --- default is to override */
-NULL, /* server config */
-NULL, /* merge server config */
-scep_cmds, /* command apr_table_t */
-register_hooks /* register hooks */
+{
+    STANDARD20_MODULE_STUFF, create_scep_dir_config, /* dir config creater */
+    merge_scep_dir_config, /* dir merger --- default is to override */
+    NULL, /* server config */
+    NULL, /* merge server config */
+    scep_cmds, /* command apr_table_t */
+    register_hooks /* register hooks */
 };



More information about the rs-commit mailing list