httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ic...@apache.org
Subject svn commit: r1816055 - in /httpd/httpd/trunk/modules/md: md_acme.c md_acme.h md_acme_authz.c md_cmd_main.c md_cmd_reg.c md_crypt.c md_json.c md_reg.c md_reg.h md_version.h mod_md.c mod_md.h mod_md_config.c
Date Wed, 22 Nov 2017 13:28:28 GMT
Author: icing
Date: Wed Nov 22 13:28:28 2017
New Revision: 1816055

URL: http://svn.apache.org/viewvc?rev=1816055&view=rev
Log:
spelling fixes from Josh Soref via github

Modified:
    httpd/httpd/trunk/modules/md/md_acme.c
    httpd/httpd/trunk/modules/md/md_acme.h
    httpd/httpd/trunk/modules/md/md_acme_authz.c
    httpd/httpd/trunk/modules/md/md_cmd_main.c
    httpd/httpd/trunk/modules/md/md_cmd_reg.c
    httpd/httpd/trunk/modules/md/md_crypt.c
    httpd/httpd/trunk/modules/md/md_json.c
    httpd/httpd/trunk/modules/md/md_reg.c
    httpd/httpd/trunk/modules/md/md_reg.h
    httpd/httpd/trunk/modules/md/md_version.h
    httpd/httpd/trunk/modules/md/mod_md.c
    httpd/httpd/trunk/modules/md/mod_md.h
    httpd/httpd/trunk/modules/md/mod_md_config.c

Modified: httpd/httpd/trunk/modules/md/md_acme.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_acme.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_acme.c (original)
+++ httpd/httpd/trunk/modules/md/md_acme.c Wed Nov 22 13:28:28 2017
@@ -284,7 +284,7 @@ static apr_status_t inspect_problem(md_a
                 return APR_ENOENT;
             default:
                 md_log_perror(MD_LOG_MARK, MD_LOG_WARNING, 0, req->p,
-                              "acme problem unknonw: http status %d", res->status);
+                              "acme problem unknown: http status %d", res->status);
                 return APR_EGENERAL;
         }
     }

Modified: httpd/httpd/trunk/modules/md/md_acme.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_acme.h?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_acme.h (original)
+++ httpd/httpd/trunk/modules/md/md_acme.h Wed Nov 22 13:28:28 2017
@@ -72,7 +72,7 @@ apr_status_t md_acme_init(apr_pool_t *po
 
 /**
  * Create a new ACME server instance. If path is not NULL, will use that directory
- * for persisting information. Will load any inforation persisted in earlier session.
+ * for persisting information. Will load any information persisted in earlier session.
  * url needs only be specified for instances where this has never been persisted before.
  *
  * @param pacme   will hold the ACME server instance on success
@@ -125,7 +125,7 @@ apr_status_t md_acme_agree(md_acme_t *ac
  * given in the agreement url.
  * If the known agreement is equal to this, nothing is done.
  * If it differs, the account is re-validated in the hope that the server
- * accounces the Tos URL it wants. If this is equal to the agreement specified,
+ * announces the Tos URL it wants. If this is equal to the agreement specified,
  * the server is notified of this. If the server requires a ToS that the account
  * thinks it has already given, it is resend.
  *
@@ -176,7 +176,7 @@ apr_status_t md_acme_unstore_acct(struct
 /* request handling */
 
 /**
- * Request callback on a successfull HTTP response (status 2xx).
+ * Request callback on a successful HTTP response (status 2xx).
  */
 typedef apr_status_t md_acme_req_res_cb(md_acme_t *acme, 
                                         const struct md_http_response_t *res, void *baton);
@@ -193,7 +193,7 @@ typedef struct md_acme_req_t md_acme_req
 typedef apr_status_t md_acme_req_init_cb(md_acme_req_t *req, void *baton);
 
 /**
- * Request callback on a successfull response (HTTP response code 2xx) and content
+ * Request callback on a successful response (HTTP response code 2xx) and content
  * type matching application/.*json.
  */
 typedef apr_status_t md_acme_req_json_cb(md_acme_t *acme, apr_pool_t *p, 
@@ -210,7 +210,7 @@ struct md_acme_req_t {
     struct md_json_t *req_json;    /* JSON to be POSTed in request body */
 
     apr_table_t *resp_hdrs;        /* HTTP response headers */
-    struct md_json_t *resp_json;   /* JSON response body recevied */
+    struct md_json_t *resp_json;   /* JSON response body received */
     
     apr_status_t rv;               /* status of request */
     

Modified: httpd/httpd/trunk/modules/md/md_acme_authz.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_acme_authz.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_acme_authz.c (original)
+++ httpd/httpd/trunk/modules/md/md_acme_authz.c Wed Nov 22 13:28:28 2017
@@ -185,7 +185,7 @@ apr_status_t md_acme_authz_register(stru
 }
 
 /**************************************************************************************************/
-/* Update an exiosting authorization */
+/* Update an existing authorization */
 
 apr_status_t md_acme_authz_update(md_acme_authz_t *authz, md_acme_t *acme, 
                                   md_store_t *store, apr_pool_t *p)
@@ -379,7 +379,7 @@ static apr_status_t cha_tls_sni_01_setup
         || APR_STATUS_IS_ENOENT(rv)) {
         
         if (APR_SUCCESS != (rv = md_pkey_gen(&cha_key, p, key_spec))) {
-            md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "%s: create tls-sni-01 challgenge
key",
+            md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "%s: create tls-sni-01 challenge
key",
                           authz->domain);
             goto out;
         }

Modified: httpd/httpd/trunk/modules/md/md_cmd_main.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_cmd_main.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_cmd_main.c (original)
+++ httpd/httpd/trunk/modules/md/md_cmd_main.c Wed Nov 22 13:28:28 2017
@@ -384,7 +384,7 @@ static md_cmd_t MainCmd = {
     main_opts, NULL,
     MainOptions, MainSubCmds,
     "a2md [options] cmd [cmd options] [args]", 
-    "Show and manipulate Apache Manged Domains", 
+    "Show and manipulate Apache Managed Domains", 
 };
 
 #define BASE_VERSION "apachemd/" MOD_MD_VERSION

Modified: httpd/httpd/trunk/modules/md/md_cmd_reg.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_cmd_reg.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_cmd_reg.c (original)
+++ httpd/httpd/trunk/modules/md/md_cmd_reg.c Wed Nov 22 13:28:28 2017
@@ -61,7 +61,7 @@ md_cmd_t MD_RegAddCmd = {
     "add", MD_CTX_REG,  
     NULL, cmd_reg_add, MD_NoOptions, NULL,
     "add [opts] domain [domain...]", 
-    "Adds a new mananged domain. Must not overlap with existing domains.", 
+    "Adds a new managed domain. Must not overlap with existing domains.", 
 };
 
 /**************************************************************************************************/

Modified: httpd/httpd/trunk/modules/md/md_crypt.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_crypt.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_crypt.c (original)
+++ httpd/httpd/trunk/modules/md/md_crypt.c Wed Nov 22 13:28:28 2017
@@ -1237,7 +1237,7 @@ apr_status_t md_cert_self_sign(md_cert_t
         md_log_perror(MD_LOG_MARK, MD_LOG_ERR, 0, p, "%s: name add entry", cn);
         rv = APR_EGENERAL; goto out;
     }
-    /* cert are uncontrained (but not very trustworthy) */
+    /* cert are unconstrained (but not very trustworthy) */
     if (APR_SUCCESS != (rv = add_ext(x, NID_basic_constraints, "CA:FALSE, pathlen:0", p)))
{
         md_log_perror(MD_LOG_MARK, MD_LOG_ERR, rv, p, "%s: set basic constraints ext", cn);
         goto out;

Modified: httpd/httpd/trunk/modules/md/md_json.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_json.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_json.c (original)
+++ httpd/httpd/trunk/modules/md/md_json.c Wed Nov 22 13:28:28 2017
@@ -52,7 +52,7 @@ struct md_json_t {
 };
 
 /**************************************************************************************************/
-/* lifecylce */
+/* lifecycle */
 
 static apr_status_t json_pool_cleanup(void *data)
 {

Modified: httpd/httpd/trunk/modules/md/md_reg.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_reg.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_reg.c (original)
+++ httpd/httpd/trunk/modules/md/md_reg.c Wed Nov 22 13:28:28 2017
@@ -263,7 +263,7 @@ apr_status_t md_reg_assess(md_reg_t *reg
     (void)reg;
     switch (md->state) {
         case MD_S_UNKNOWN:
-            md_log_perror( MD_LOG_MARK, MD_LOG_ERR, 0, p, "md(%s): in unkown state.", md->name);
+            md_log_perror( MD_LOG_MARK, MD_LOG_ERR, 0, p, "md(%s): in unknown state.", md->name);
             break;
         case MD_S_ERROR:
             md_log_perror( MD_LOG_MARK, MD_LOG_ERR, 0, p,  

Modified: httpd/httpd/trunk/modules/md/md_reg.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_reg.h?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_reg.h (original)
+++ httpd/httpd/trunk/modules/md/md_reg.h Wed Nov 22 13:28:28 2017
@@ -75,7 +75,7 @@ apr_status_t md_reg_assess(md_reg_t *reg
 typedef int md_reg_do_cb(void *baton, md_reg_t *reg, md_t *md);
 
 /**
- * Invoke callback for all mds in this registry. Order is not guarantueed.
+ * Invoke callback for all mds in this registry. Order is not guaranteed.
  * If the callback returns 0, iteration stops. Returns 0 if iteration was
  * aborted.
  */

Modified: httpd/httpd/trunk/modules/md/md_version.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/md_version.h?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/md_version.h (original)
+++ httpd/httpd/trunk/modules/md/md_version.h Wed Nov 22 13:28:28 2017
@@ -26,7 +26,7 @@
  * @macro
  * Version number of the md module as c string
  */
-#define MOD_MD_VERSION "1.0.3"
+#define MOD_MD_VERSION "1.0.3-git"
 
 /**
  * @macro

Modified: httpd/httpd/trunk/modules/md/mod_md.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md.c Wed Nov 22 13:28:28 2017
@@ -812,7 +812,7 @@ static apr_status_t run_watchdog(int sta
         if (n > 0) {
             int notified = 1;
 
-            /* Run notifiy command for ready MDs (if configured) and persist that
+            /* Run notify command for ready MDs (if configured) and persist that
              * we have done so. This process might be reaped after n requests or die
              * of another cause. The one taking over the watchdog need to notify again.
              */
@@ -846,7 +846,7 @@ static apr_status_t run_watchdog(int sta
                 }
             }
             
-            /* FIXME: the server needs to start gracefully to take the new certficate in.
+            /* FIXME: the server needs to start gracefully to take the new certificate in.
              * This poses a variety of problems to solve satisfactory for everyone:
              * - I myself, have no implementation for Windows 
              * - on *NIX, child processes run with less privileges, preventing
@@ -1025,7 +1025,7 @@ static apr_status_t md_post_config(apr_p
     sc = md_config_get(s);
     mc = sc->mc;
     
-    /* Synchronize the defintions we now have with the store via a registry (reg). */
+    /* Synchronize the definitions we now have with the store via a registry (reg). */
     if (APR_SUCCESS != (rv = setup_reg(&reg, p, s, mc->can_http, mc->can_https)))
{
         ap_log_error(APLOG_MARK, APLOG_ERR, rv, s, APLOGNO(10072)
                      "setup md registry");
@@ -1348,7 +1348,7 @@ static int md_require_https_maybe(reques
 }
 
 /* Runs once per created child process. Perform any process 
- * related initionalization here.
+ * related initialization here.
  */
 static void md_child_init(apr_pool_t *pool, server_rec *s)
 {

Modified: httpd/httpd/trunk/modules/md/mod_md.h
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md.h?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md.h (original)
+++ httpd/httpd/trunk/modules/md/mod_md.h Wed Nov 22 13:28:28 2017
@@ -27,7 +27,7 @@ APR_DECLARE_OPTIONAL_FN(int,
 /**
  * Get the certificate/key for the managed domain (md_is_managed != 0).
  * 
- * @return APR_EAGAIN if the real certicate is not available yet
+ * @return APR_EAGAIN if the real certificate is not available yet
  */
 APR_DECLARE_OPTIONAL_FN(apr_status_t, 
                         md_get_certificate, (struct server_rec *, apr_pool_t *,

Modified: httpd/httpd/trunk/modules/md/mod_md_config.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/md/mod_md_config.c?rev=1816055&r1=1816054&r2=1816055&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/md/mod_md_config.c (original)
+++ httpd/httpd/trunk/modules/md/mod_md_config.c Wed Nov 22 13:28:28 2017
@@ -734,7 +734,7 @@ static const char *md_config_set_pkeys(c
             }
         }
         else {
-            return "key type 'RSA' has only one optinal parameter, the number of bits";
+            return "key type 'RSA' has only one optional parameter, the number of bits";
         }
 
         if (!config->pkey_spec) {
@@ -762,7 +762,7 @@ static const char *md_config_set_notify_
 
 const command_rec md_cmds[] = {
     AP_INIT_TAKE1(     MD_CMD_CA, md_config_set_ca, NULL, RSRC_CONF, 
-                  "URL of CA issueing the certificates"),
+                  "URL of CA issuing the certificates"),
     AP_INIT_TAKE1(     MD_CMD_CAAGREEMENT, md_config_set_agreement, NULL, RSRC_CONF, 
                   "URL of CA Terms-of-Service agreement you accept"),
     AP_INIT_TAKE_ARGV( MD_CMD_CACHALLENGES, md_config_set_cha_tyes, NULL, RSRC_CONF, 
@@ -774,7 +774,7 @@ const command_rec md_cmds[] = {
     AP_INIT_TAKE_ARGV( MD_CMD_MD, md_config_set_names, NULL, RSRC_CONF, 
                       "A group of server names with one certificate"),
     AP_INIT_RAW_ARGS(  MD_CMD_MD_SECTION, md_config_sec_start, NULL, RSRC_CONF, 
-                     "Container for a manged domain with common settings and certificate."),
+                     "Container for a managed domain with common settings and certificate."),
     AP_INIT_TAKE_ARGV( MD_CMD_MEMBER, md_config_sec_add_members, NULL, RSRC_CONF, 
                       "Define domain name(s) part of the Managed Domain. Use 'auto' or "
                       "'manual' to enable/disable auto adding names from virtual hosts."),



Mime
View raw message