Fixed additional typos in comments and log messages.
authorTobias Brunner <tobias@strongswan.org>
Thu, 12 Jan 2012 10:41:34 +0000 (11:41 +0100)
committerTobias Brunner <tobias@strongswan.org>
Thu, 12 Jan 2012 10:42:42 +0000 (11:42 +0100)
15 files changed:
src/libcharon/plugins/ha/ha_segments.h
src/libcharon/sa/tasks/ike_cert_pre.c
src/libfast/smtp.h
src/libhydra/plugins/attr_sql/sql_attribute.c
src/libhydra/plugins/resolve/resolve_plugin.c
src/libpts/plugins/imc_attestation/imc_attestation_process.c
src/libpts/pts/components/ita/ita_comp_tgrub.c
src/libpts/pts/pts.c
src/libpts/pts/pts.h
src/libpts/tcg/tcg_pts_attr_simple_comp_evid.c
src/libpts/tcg/tcg_pts_attr_simple_evid_final.c
src/libsimaka/simaka_manager.h
src/libstrongswan/credentials/builder.h
src/libstrongswan/fetcher/fetcher_manager.h
testing/testing.conf

index eb9e5c1..76da380 100644 (file)
@@ -55,7 +55,7 @@ struct ha_segments_t {
         * Activate a set of IKE_SAs identified by a segment.
         *
         * @param segment       numerical segment to takeover, 0 for all
-        * @param notify        wheter to notify other nodes about activation
+        * @param notify        whether to notify other nodes about activation
         */
        void (*activate)(ha_segments_t *this, u_int segment, bool notify);
 
@@ -63,7 +63,7 @@ struct ha_segments_t {
         * Deactivate a set of IKE_SAs identified by a segment.
         *
         * @param segment       numerical segment to takeover, 0 for all
-        * @param notify        wheter to notify other nodes about deactivation
+        * @param notify        whether to notify other nodes about deactivation
         */
        void (*deactivate)(ha_segments_t *this, u_int segment, bool notify);
 
index 1919ed0..b33aebe 100644 (file)
@@ -51,7 +51,7 @@ struct private_ike_cert_pre_t {
        bool do_http_lookup;
 
        /**
-        * wheter this is the final authentication round
+        * whether this is the final authentication round
         */
        bool final;
 };
index 910f181..9589ea2 100644 (file)
@@ -34,7 +34,7 @@ struct smtp_t {
         * Send an e-mail message.
         *
         * @param from          sender address
-        * @param to            receipient address
+        * @param to            recipient address
         * @param subject       mail subject
         * @param fmt           mail body format string
         * @param ...           arguments for body format string
index fe7811b..714bbcd 100644 (file)
@@ -38,7 +38,7 @@ struct private_sql_attribute_t {
        database_t *db;
 
        /**
-        * wheter to record lease history in lease table
+        * whether to record lease history in lease table
         */
        bool history;
 };
index d23d361..f95827e 100644 (file)
@@ -31,7 +31,7 @@ struct private_resolve_plugin_t {
        resolve_plugin_t public;
 
        /**
-        * The registerd DNS attribute handler
+        * The registered DNS attribute handler
         */
        resolve_handler_t *handler;
 };
index 1f81c20..b70c053 100644 (file)
@@ -422,7 +422,7 @@ bool imc_attestation_process(pa_tnc_attr_t *attr, linked_list_t *attr_list,
                                                        "libimcv.plugins.imc-attestation.use_quote2", TRUE);
                        if (!pts->quote_tpm(pts, use_quote2, &pcr_composite, &quote_sig))
                        {
-                               DBG1(DBG_IMC, "error occured during TPM quote operation");
+                               DBG1(DBG_IMC, "error occurred during TPM quote operation");
                                return FALSE;
                        }
 
index a1b2cd0..0dfd5fd 100644 (file)
@@ -87,7 +87,7 @@ METHOD(pts_component_t, measure, status_t,
                
        if (!pts->read_pcr(pts, extended_pcr, &pcr_after))
        {
-               DBG1(DBG_PTS, "error occured while reading PCR: %d", extended_pcr);
+               DBG1(DBG_PTS, "error occurred while reading PCR: %d", extended_pcr);
                return FAILED;
        }
 
index 6469f7c..65ae2b2 100644 (file)
@@ -557,7 +557,7 @@ METHOD(pts_t, is_path_valid, bool,
        }
        else
        {
-               DBG1(DBG_PTS, "error: %s occured while validating path: %s",
+               DBG1(DBG_PTS, "error: %s occurred while validating path: %s",
                                           strerror(errno), path);
                return FALSE;
        }
index 814beff..212acb0 100644 (file)
@@ -69,7 +69,7 @@ typedef struct pts_t pts_t;
 #define ASSESSMENT_SECRET_LEN  20
 
 /**
- * Lenght of the TPM_QUOTE_INFO structure, TPM Spec 1.2
+ * Length of the TPM_QUOTE_INFO structure, TPM Spec 1.2
  */
 #define TPM_QUOTE_INFO_LEN             48
 
@@ -225,7 +225,7 @@ struct pts_t {
         * @param error_code            Output variable for PTS error code
         * @return                                      TRUE if path is valid or file/directory
         *                                                      doesn't exist or path is invalid
-        *                                              FALSE if local error occured within stat function
+        *                                              FALSE if local error occurred within stat function
         */
        bool (*is_path_valid)(pts_t *this, char *path, pts_error_code_t *error_code);
 
@@ -285,7 +285,7 @@ struct pts_t {
         * Quote over PCR's
         * Expects owner and SRK secret to be WELL_KNOWN_SECRET and no password set for AIK
         *
-        * @param use_quote2            Version of the Quote funtion to be used
+        * @param use_quote2            Version of the Quote function to be used
         * @param pcr_comp                      Chunk to save PCR composite structure
         * @param quote_sig                     Chunk to save quote operation output
         *                                                      without external data (anti-replay protection)
index 98b0cd5..d2c197a 100644 (file)
@@ -357,7 +357,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
                if (!reader->read_uint16(reader, &len))
                {
                        DBG1(DBG_TNC, "insufficient data for PTS Simple Component Evidence "
-                                                 "Verification Policy URI Lenght");
+                                                 "Verification Policy URI Length");
                        goto end;
                }
                if (!reader->read_data(reader, len, &policy_uri))
index 4062ecf..27720d5 100644 (file)
@@ -243,7 +243,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
                if (!reader->read_uint32(reader, &pcr_comp_len))
                {
                        DBG1(DBG_TNC, "insufficient data for PTS Simple Evidence Final "
-                                                 "PCR Composite Lenght");
+                                                 "PCR Composite Length");
                        goto end;
                }
                if (!reader->read_data(reader, pcr_comp_len, &this->pcr_comp))
@@ -257,7 +257,7 @@ METHOD(pa_tnc_attr_t, process, status_t,
                if (!reader->read_uint32(reader, &tpm_quote_sig_len))
                {
                        DBG1(DBG_TNC, "insufficient data for PTS Simple Evidence Final "
-                                                 "TPM Quote Singature Lenght");
+                                                 "TPM Quote Singature Length");
                        goto end;
                }
                if (!reader->read_data(reader, tpm_quote_sig_len, &this->tpm_quote_sig))
index a0edd60..64a67e5 100644 (file)
@@ -113,7 +113,7 @@ struct simaka_manager_t {
                                                           identification_t *pseudonym);
 
        /**
-        * Get a stored pseudonym from one of the registerd SIM cards.
+        * Get a stored pseudonym from one of the registered SIM cards.
         *
         * @param id            permanent identity of the peer
         * @return                      associated pseudonym identity, NULL if none found
@@ -134,7 +134,7 @@ struct simaka_manager_t {
                                                        u_int16_t counter);
 
        /**
-        * Retrieve fast reauthentication parameters from one of the registerd cards.
+        * Retrieve fast reauthentication parameters from one of the registered cards.
         *
         * @param id            permanent identity of the peer
         * @param mk            buffer receiving master key MK
index 70724dc..26d19f5 100644 (file)
@@ -29,7 +29,7 @@ typedef enum builder_part_t builder_part_t;
  * Constructor function to build credentials.
  *
  * Any added parts are cloned/refcounted by the builder implementation.
- * Callers may need to free the passed ressources themselves.
+ * Callers may need to free the passed resources themselves.
  *
  * @param subtype      constructor specific subtype, e.g. a certificate_type_t
  * @param args         list of builder part types, followed by parts, BUILD_END
index 15250d5..449f284 100644 (file)
@@ -26,7 +26,7 @@ typedef struct fetcher_manager_t fetcher_manager_t;
 #include <fetcher/fetcher.h>
 
 /**
- * Fetches from URIs using registerd fetcher_t instances.
+ * Fetches from URIs using registered fetcher_t instances.
  */
 struct fetcher_manager_t {
 
index 265bafe..26e2cfb 100755 (executable)
@@ -179,7 +179,7 @@ bob,fec2::10"
 # The hosts stated here will be created. Possible values
 # are sun, moon, dave, carol, alice, venus, bob, winnetou.
 # It's fine to make them all unless you don't have much
-# ressources. In this case we assume you know what you do!
+# resources. In this case we assume you know what you do!
 #
 STRONGSWANHOSTS="sun moon dave carol alice venus bob winnetou"