Fixed some typos
authorTobias Brunner <tobias@strongswan.org>
Thu, 13 Aug 2015 13:03:50 +0000 (15:03 +0200)
committerTobias Brunner <tobias@strongswan.org>
Thu, 13 Aug 2015 13:12:34 +0000 (15:12 +0200)
src/libcharon/encoding/payloads/fragment_payload.c
src/libcharon/plugins/error_notify/error_notify_listener.c
src/libstrongswan/credentials/certificates/ocsp_request.h
src/libstrongswan/credentials/certificates/ocsp_response.h
src/starter/parser/conf_parser.h

index b861fcc..7f158f5 100644 (file)
@@ -222,4 +222,4 @@ fragment_payload_t *fragment_payload_create_from_data(u_int8_t num, bool last,
        this->data = chunk_clone(data);
        this->payload_length = get_header_length(this) + data.len;
        return &this->public;
-}
\ No newline at end of file
+}
index 13860fe..f7a1f49 100644 (file)
@@ -96,13 +96,13 @@ METHOD(listener_t, alert, bool,
                case ALERT_PROPOSAL_MISMATCH_IKE:
                        msg.type = htonl(ERROR_NOTIFY_PROPOSAL_MISMATCH_IKE);
                        list = va_arg(args, linked_list_t*);
-                       snprintf(msg.str, sizeof(msg.str), "the received IKE_SA poposals "
+                       snprintf(msg.str, sizeof(msg.str), "the received IKE_SA proposals "
                                         "did not match: %#P", list);
                        break;
                case ALERT_PROPOSAL_MISMATCH_CHILD:
                        msg.type = htonl(ERROR_NOTIFY_PROPOSAL_MISMATCH_CHILD);
                        list = va_arg(args, linked_list_t*);
-                       snprintf(msg.str, sizeof(msg.str), "the received CHILD_SA poposals "
+                       snprintf(msg.str, sizeof(msg.str), "the received CHILD_SA proposals "
                                         "did not match: %#P", list);
                        break;
                case ALERT_TS_MISMATCH:
@@ -153,14 +153,14 @@ METHOD(listener_t, alert, bool,
                        msg.type = htonl(ERROR_NOTIFY_CERT_EXPIRED);
                        cert = va_arg(args, certificate_t*);
                        cert->get_validity(cert, NULL, &not_before, &not_after);
-                       snprintf(msg.str, sizeof(msg.str), "certificiate expired: '%Y' "
+                       snprintf(msg.str, sizeof(msg.str), "certificate expired: '%Y' "
                                         "(valid from %T to %T)", cert->get_subject(cert),
                                         &not_before, TRUE, &not_after, TRUE);
                        break;
                case ALERT_CERT_REVOKED:
                        msg.type = htonl(ERROR_NOTIFY_CERT_REVOKED);
                        cert = va_arg(args, certificate_t*);
-                       snprintf(msg.str, sizeof(msg.str), "certificiate revoked: '%Y'",
+                       snprintf(msg.str, sizeof(msg.str), "certificate revoked: '%Y'",
                                         cert->get_subject(cert));
                        break;
                case ALERT_CERT_NO_ISSUER:
index 0b18713..730d95d 100644 (file)
@@ -31,7 +31,7 @@ typedef struct ocsp_request_t ocsp_request_t;
 struct ocsp_request_t {
 
        /**
-        * Implements certificiate_t interface
+        * Implements certificate_t interface
         */
        certificate_t interface;
 };
index 1575774..9c5637b 100644 (file)
@@ -50,7 +50,7 @@ extern enum_name_t *ocsp_status_names;
 struct ocsp_response_t {
 
        /**
-        * Implements certificiate_t interface
+        * Implements certificate_t interface
         */
        certificate_t certificate;
 
index 2093820..49131a0 100644 (file)
@@ -119,4 +119,4 @@ struct conf_parser_t {
  */
 conf_parser_t *conf_parser_create(const char *file);
 
-#endif /** CONF_PARSER_H_ @}*/
\ No newline at end of file
+#endif /** CONF_PARSER_H_ @}*/