]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix some typo
authorChristophe Jaillet <jailletc36@apache.org>
Sat, 25 Dec 2021 18:16:06 +0000 (18:16 +0000)
committerChristophe Jaillet <jailletc36@apache.org>
Sat, 25 Dec 2021 18:16:06 +0000 (18:16 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1896393 13f79535-47bb-0310-9956-ffa450edef68

modules/tls/tls_cache.c
modules/tls/tls_conf.c
modules/tls/tls_conf.h
modules/tls/tls_core.c
modules/tls/tls_core.h
modules/tls/tls_filter.c
modules/tls/tls_proto.h
modules/tls/tls_util.c
modules/tls/tls_util.h
modules/tls/tls_var.c

index 944f471758f274480a5c5cae1a60c6452b792879..de4be1881063a9e8c83d4de9754018da6c0682c1 100644 (file)
@@ -302,7 +302,7 @@ apr_status_t tls_cache_init_server(
     tls_conf_server_t *sc = tls_conf_server_get(s);
 
     if (sc && sc->global->session_cache) {
-        ap_log_error(APLOG_MARK, APLOG_TRACE3, 0, s, "adding session persistance to rustls");
+        ap_log_error(APLOG_MARK, APLOG_TRACE3, 0, s, "adding session persistence to rustls");
         rustls_server_config_builder_set_persistence(
             builder, tls_cache_get, tls_cache_put);
     }
index 4de4c5b2c513332ead40f341d6d6043d1919a960..a9f27de87a9ebbc5ecafb83eec9aa4fd224402b1 100644 (file)
@@ -745,7 +745,7 @@ const command_rec tls_conf_cmds[] = {
     AP_INIT_TAKE1("TLSHonorClientOrder", tls_conf_set_honor_client_order, NULL, RSRC_CONF,
         "Set 'on' to have the server honor client preferences in cipher suites, default off."),
     AP_INIT_TAKE1("TLSEngine", tls_conf_add_engine, NULL, RSRC_CONF,
-        "Specify an adress+port where the module shall handle incoming TLS connections."),
+        "Specify an address+port where the module shall handle incoming TLS connections."),
     AP_INIT_TAKE_ARGV("TLSOptions", tls_conf_set_options, NULL, OR_OPTIONS,
         "En-/disables optional features in the module."),
     AP_INIT_TAKE1("TLSProtocol", tls_conf_set_protocol, NULL, RSRC_CONF,
index a315afba0d647d7b5ea5a95af4a27390cca7f025..e924412d5483eca26ceb876a1317e4409672c545 100644 (file)
@@ -64,7 +64,7 @@ typedef enum {
  * and then readonly.
  */
 typedef struct {
-    server_rec *ap_server;            /* the gobal server we initialized on */
+    server_rec *ap_server;            /* the global server we initialized on */
     const char *module_version;
     const char *crustls_version;
 
@@ -182,4 +182,4 @@ int tls_proxy_section_post_config(
     apr_pool_t *p, apr_pool_t *plog, apr_pool_t *ptemp, server_rec *s,
     ap_conf_vector_t *section_config);
 
-#endif /* tls_conf_h */
\ No newline at end of file
+#endif /* tls_conf_h */
index 281ac15b156cb3e86e937fcb61324bb8205b6d4f..38c8873009102c2483d3ed219e90095737e08fa1 100644 (file)
@@ -778,7 +778,7 @@ static apr_status_t init_outgoing_connection(conn_rec *c)
     hostname = apr_table_get(c->notes, "proxy-request-hostname");
     alpn_note = apr_table_get(c->notes, "proxy-request-alpn-protos");
     ap_log_error(APLOG_MARK, APLOG_TRACE1, 0, c->base_server,
-        "setup_outgoing: to %s [ALPN: %s] from configration in %s"
+        "setup_outgoing: to %s [ALPN: %s] from configuration in %s"
         " using CA %s", hostname, alpn_note, pc->defined_in->server_hostname, pc->proxy_ca);
 
     rv = get_proxy_ciphers(&ciphersuites, c->pool, pc);
@@ -1185,7 +1185,7 @@ apr_status_t tls_core_conn_seen_client_hello(conn_rec *c)
     int sni_match = 0;
 
     /* The initial rustls generic session has been fed the client hello and
-     * we have extraced SNI and ALPN values (so present).
+     * we have extracted SNI and ALPN values (so present).
      * Time to select the actual server_rec and application protocol that
      * will be used on this connection. */
     ap_assert(cc);
index 505155c277e5f1db7372b59f394485550319421d..6ee1713b5e8baef87eb51c47e26a97c93edebaa1 100644 (file)
@@ -118,7 +118,7 @@ void tls_core_conn_bind(conn_rec *c, ap_conf_vector_t *dir_conf);
 void tls_core_conn_disable(conn_rec *c);
 
 /**
- * Initialiaze the tls_conf_connt_t for the connection
+ * Initialize the tls_conf_connt_t for the connection
  * and decide if TLS is enabled or not.
  * @return OK if enabled, DECLINED otherwise
  */
@@ -181,4 +181,4 @@ apr_status_t tls_core_error(conn_rec *c, rustls_result rr, const char **perrstr)
  */
 int tls_core_setup_outgoing(conn_rec *c);
 
-#endif /* tls_core_h */
\ No newline at end of file
+#endif /* tls_core_h */
index ec589a87de48f77e4bdfe1342d9e5ad381a45528..0ee6be61a23e8ae253bcbf7ff284ca8fe38c3a3c 100644 (file)
@@ -235,7 +235,7 @@ static apr_status_t filter_recv_client_hello(tls_filter_ctx_t *fctx)
         bb_tmp = fctx->fin_tls_bb; /* data we have yet to feed to rustls */
         fctx->fin_tls_bb = fctx->fin_tls_buffer_bb; /* data we already fed to the pre_session */
         fctx->fin_tls_buffer_bb = NULL;
-        APR_BRIGADE_CONCAT(fctx->fin_tls_bb, bb_tmp); /* all tls data from the cleint so far, reloaded */
+        APR_BRIGADE_CONCAT(fctx->fin_tls_bb, bb_tmp); /* all tls data from the client so far, reloaded */
         apr_brigade_destroy(bb_tmp);
         rv = APR_SUCCESS;
     }
@@ -1014,4 +1014,4 @@ void tls_filter_register(
     (void)pool;
     ap_register_input_filter(TLS_FILTER_RAW, filter_conn_input,  NULL, AP_FTYPE_CONNECTION + 5);
     ap_register_output_filter(TLS_FILTER_RAW, filter_conn_output, NULL, AP_FTYPE_CONNECTION + 5);
-}
\ No newline at end of file
+}
index ba91a1748f9a23bef981126cd0fdae4bb41c051f..a3fe881dbafe4372f346a10ed637b5ecd94b9bb8 100644 (file)
@@ -28,7 +28,7 @@
  */
 typedef struct {
     apr_uint16_t id;      /* IANA 16-bit assigned value as used on the wire */
-    const char *name;     /* IANA given name of hte cipher */
+    const char *name;     /* IANA given name of the cipher */
     const char *alias;    /* Optional, commonly known alternate name */
 } tls_cipher_t;
 
@@ -52,19 +52,19 @@ struct tls_proto_conf_t {
 tls_proto_conf_t *tls_proto_init(apr_pool_t *p, server_rec *s);
 
 /**
- * Called during pre-config phase to start intialization
+ * Called during pre-config phase to start initialization
  * of the tls protocol configuration.
  */
 apr_status_t tls_proto_pre_config(apr_pool_t *pool, apr_pool_t *ptemp);
 
 /**
- * Called during post-config phase to conclude the intialization
+ * Called during post-config phase to conclude the initialization
  * of the tls protocol configuration.
  */
 apr_status_t tls_proto_post_config(apr_pool_t *p, apr_pool_t *ptemp, server_rec *s);
 
 /**
- * Get the TLS protocol identifer (as used on the wire) for the TLS
+ * Get the TLS protocol identifier (as used on the wire) for the TLS
  * protocol of the given name. Returns 0 if protocol is unknown.
  */
 apr_uint16_t tls_proto_get_version_by_name(tls_proto_conf_t *conf, const char *name);
@@ -97,7 +97,7 @@ int tls_proto_is_cipher_supported(tls_proto_conf_t *conf, apr_uint16_t cipher);
 
 /**
  * Get the name of a TLS cipher for the IANA assigned 16bit value. This will
- * return the name in the protocol configuation, if the cipher is known, and
+ * return the name in the protocol configuration, if the cipher is known, and
  * create the string `TLS_CIPHER_0x%04x` for the 16bit cipher value.
  */
 const char *tls_proto_get_cipher_name(
@@ -121,4 +121,4 @@ const char *tls_proto_get_cipher_names(
 apr_array_header_t *tls_proto_get_rustls_suites(
     tls_proto_conf_t *conf, const apr_array_header_t *ids, apr_pool_t *pool);
 
-#endif /* tls_proto_h */
\ No newline at end of file
+#endif /* tls_proto_h */
index 639a51c7da6d15fa88d6315fc5d1f8372408461d..9eac212815a350c5e8424c07c4b0a50129d93711 100644 (file)
@@ -275,7 +275,7 @@ apr_status_t tls_util_brigade_split_line(
     if (APR_SUCCESS != rv) goto cleanup;
     apr_brigade_length(dest, 0, &nend);
     /* apr_brigade_split_line() has the nasty habit of leaving a 0-length bucket
-     * at the start of the brigade when it transfered the whole content. Get rid of it.
+     * at the start of the brigade when it transferred the whole content. Get rid of it.
      */
     if (!APR_BRIGADE_EMPTY(src)) {
          apr_bucket *b = APR_BRIGADE_FIRST(src);
index 21ed19d47bf305d3544aeaf8bed08f9b54438b4c..18ae4dff4a3010f34818b180b2d22c8025993d08 100644 (file)
@@ -82,9 +82,9 @@ const apr_array_header_t *tls_util_array_uint16_remove(
 
 /**
  * Transfer up to <length> bytes from <src> to <dest>, including all
- * encountered meta data buckets. The transfered buckets/data are
+ * encountered meta data buckets. The transferred buckets/data are
  * removed from <src>.
- * Return the actual byte count transfered in <pnout>.
+ * Return the actual byte count transferred in <pnout>.
  */
 apr_status_t tls_util_brigade_transfer(
     apr_bucket_brigade *dest, apr_bucket_brigade *src, apr_off_t length,
@@ -154,4 +154,4 @@ do { \
 
 
 
-#endif /* tls_util_h */
\ No newline at end of file
+#endif /* tls_util_h */
index f35ae63b00a463f0c52018325bffecd9d74d20b0..fa4ae2aed6b2cf069bc0de200be227378bcacfcb 100644 (file)
@@ -317,7 +317,7 @@ static void add_vars(apr_table_t *env, conn_rec *c, server_rec *s, request_rec *
     ctx.c = c;
     ctx.r = r;
     ctx.cc = tls_conf_conn_get(c->master? c->master : c);
-    /* Can we re-use teh precomputed connection values? */
+    /* Can we re-use the precomputed connection values? */
     overlap = (r && ctx.cc->subprocess_env && r->server == ctx.cc->server);
     if (overlap) {
         apr_table_overlap(env, ctx.cc->subprocess_env, APR_OVERLAP_TABLES_SET);
@@ -336,7 +336,7 @@ static void add_vars(apr_table_t *env, conn_rec *c, server_rec *s, request_rec *
         }
     }
     else if (overlap && sdc->std_env_vars == TLS_FLAG_TRUE) {
-        /* Remove variables added on connection init that are disbled here */
+        /* Remove variables added on connection init that are disabled here */
         for (i = 0; i < TLS_DIM(StdEnvVars); ++i) {
             apr_table_unset(env, StdEnvVars[i]);
         }
@@ -348,7 +348,7 @@ static void add_vars(apr_table_t *env, conn_rec *c, server_rec *s, request_rec *
         }
     }
     else if (overlap && sdc->std_env_vars == TLS_FLAG_TRUE) {
-        /* Remove variables added on connection init that are disbled here */
+        /* Remove variables added on connection init that are disabled here */
         for (i = 0; i < TLS_DIM(ExportCertVars); ++i) {
             apr_table_unset(env, ExportCertVars[i]);
         }