[strongSwan-dev] typos in headers

Justin Pryzby pryzby at telsasoft.com
Sat Mar 31 03:01:54 CEST 2018


I spell-checked comments, currently only in header files (don't ask).

Justin
-------------- next part --------------
--- strongswan-5.6.1.orig/src/charon-cmd/cmd/cmd_options.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/charon-cmd/cmd/cmd_options.h	2018-03-30 19:40:47.928410240 -0500
@@ -63,7 +63,7 @@
 	const char *name;
 	/** takes argument */
 	int has_arg;
-	/** decription of argument */
+	/** description of argument */
 	const char *arg;
 	/** short description to option */
 	const char *desc;
--- strongswan-5.6.1.orig/src/conftest/actions.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/conftest/actions.h	2018-03-30 19:52:37.108701961 -0500
@@ -24,7 +24,7 @@
 typedef struct actions_t actions_t;
 
 /**
- * actionss to trigger based on configuration.
+ * actions to trigger based on configuration.
  */
 struct actions_t {
 
--- strongswan-5.6.1.orig/src/dumm/guest.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/dumm/guest.h	2018-03-30 19:52:32.153650643 -0500
@@ -47,7 +47,7 @@
 extern enum_name_t *guest_state_names;
 
 /**
- * Invoke function which lauches the UML guest.
+ * Invoke function which launches the UML guest.
  *
  * Consoles are all set to NULL, you may change them by adding additional UML
  * options to args before invocation.
--- strongswan-5.6.1.orig/src/include/linux/xfrm.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/include/linux/xfrm.h	2018-03-30 19:40:27.928204610 -0500
@@ -219,7 +219,7 @@
 #define XFRM_NR_MSGTYPES (XFRM_MSG_MAX + 1 - XFRM_MSG_BASE)
 
 /*
- * Generic LSM security context for comunicating to user space
+ * Generic LSM security context for communicating to user space
  * NOTE: Same format as sadb_x_sec_ctx
  */
 struct xfrm_user_sec_ctx {
--- strongswan-5.6.1.orig/src/libcharon/attributes/mem_pool.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/attributes/mem_pool.h	2018-03-30 19:44:53.055929673 -0500
@@ -31,7 +31,7 @@
  * In-memory IP pool acquire operation.
  */
 enum mem_pool_op_t {
-	/** Check for an exsiting lease */
+	/** Check for an existing lease */
 	MEM_POOL_EXISTING,
 	/** Get a new lease */
 	MEM_POOL_NEW,
--- strongswan-5.6.1.orig/src/libcharon/config/proposal.h	2017-11-16 13:36:57.000000000 -0600
+++ strongswan-5.6.1/src/libcharon/config/proposal.h	2018-03-30 19:46:40.861037229 -0500
@@ -163,7 +163,7 @@
 	u_int (*get_number)(proposal_t *this);
 
 	/**
-	 * Check for the eqality of two proposals.
+	 * Check for the equality of two proposals.
 	 *
 	 * @param other			other proposal to check for equality
 	 * @return				TRUE if other equal to this
--- strongswan-5.6.1.orig/src/libcharon/encoding/payloads/encodings.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/encoding/payloads/encodings.h	2018-03-30 19:46:28.787913208 -0500
@@ -302,7 +302,7 @@
 	ENCRYPTED_DATA,
 
 	/**
-	 * Reprensenting a field containing a set of wrapped payloads.
+	 * Representing a field containing a set of wrapped payloads.
 	 *
 	 * This type is not used directly, but as an offset to the wrapped payloads.
 	 * The type of the wrapped payload is added to this encoding type.
--- strongswan-5.6.1.orig/src/libcharon/encoding/payloads/payload.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/encoding/payloads/payload.h	2018-03-30 19:46:17.343795644 -0500
@@ -188,7 +188,7 @@
 	PLV2_TS_INITIATOR = 44,
 
 	/**
-	 * Traffic selector for the original responser (TSr).
+	 * Traffic selector for the original responder (TSr).
 	 */
 	PLV2_TS_RESPONDER = 45,
 
@@ -399,7 +399,7 @@
  *
  * Useful for the parser, who wants a generic constructor for all payloads.
  * It supports all payload_t methods. If a payload type is not known,
- * an unknwon_paylod is created with the chunk of data in it.
+ * an unknown_paylod is created with the chunk of data in it.
  *
  * @param type		type of the payload to create
  * @return			payload_t object
--- strongswan-5.6.1.orig/src/libcharon/kernel/kernel_interface.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/kernel/kernel_interface.h	2018-03-30 19:45:58.610603195 -0500
@@ -356,7 +356,7 @@
 	 *
 	 * @param virtual_ip	virtual ip address to remove
 	 * @param prefix		prefix length of the IP to uninstall, -1 for auto
-	 * @param wait			TRUE to wait untily IP is gone
+	 * @param wait			TRUE to wait until IP is gone
 	 * @return				SUCCESS if operation completed
 	 */
 	status_t (*del_ip) (kernel_interface_t *this, host_t *virtual_ip,
@@ -428,7 +428,7 @@
 	/**
 	 * Check if interfaces are excluded by config.
 	 *
-	 * @return				TRUE if no interfaces are exclued by config
+	 * @return				TRUE if no interfaces are excluded by config
 	 */
 	bool (*all_interfaces_usable)(kernel_interface_t *this);
 
--- strongswan-5.6.1.orig/src/libcharon/kernel/kernel_listener.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/kernel/kernel_listener.h	2018-03-30 19:46:03.151649847 -0500
@@ -63,7 +63,7 @@
 	 *
 	 * @param protocol		IPsec protocol of affected SA
 	 * @param spi			spi of the SA
-	 * @param dst			old destinatino address of SA
+	 * @param dst			old destination address of SA
 	 * @param remote		new remote host
 	 * @return				TRUE to remain registered, FALSE to unregister
 	 */
--- strongswan-5.6.1.orig/src/libcharon/plugins/forecast/forecast_listener.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/plugins/forecast/forecast_listener.h	2018-03-30 19:45:45.270466144 -0500
@@ -39,7 +39,7 @@
 	 * Create an enumerator over active tunnels.
 	 *
 	 * The enumerator enumerates over local or remote traffic selectors,
-	 * associated firewall marks and if decasulated packets should get
+	 * associated firewall marks and if decapsulated packets should get
 	 * reinjected into other tunnels.
 	 *
 	 * @param local		TRUE to enumerate local, FALSE to enumerate remote TS
--- strongswan-5.6.1.orig/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/plugins/kernel_netlink/kernel_netlink_shared.h	2018-03-30 19:45:10.615110091 -0500
@@ -32,7 +32,7 @@
 /**
  * General purpose netlink buffer.
  *
- * Some platforms require an enforced aligment to four bytes (e.g. ARM).
+ * Some platforms require an enforced alignment to four bytes (e.g. ARM).
  */
 typedef union {
 	struct nlmsghdr hdr;
--- strongswan-5.6.1.orig/src/libcharon/plugins/stroke/stroke_ca.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/plugins/stroke/stroke_ca.h	2018-03-30 19:45:15.369158935 -0500
@@ -70,7 +70,7 @@
 	 * otherwise returns the same certificate.
 	 *
 	 * @param cert		certificate to check
-	 * @return			reference to stored CA certifiate, or original
+	 * @return			reference to stored CA certificate, or original
 	 */
 	certificate_t *(*get_cert_ref)(stroke_ca_t *this, certificate_t *cert);
 
--- strongswan-5.6.1.orig/src/libcharon/plugins/vici/libvici.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/plugins/vici/libvici.h	2018-03-30 19:45:38.078392254 -0500
@@ -320,7 +320,7 @@
 char* vici_parse_name(vici_res_t *res);
 
 /**
- * Compare name tag / key of a previusly parsed element.
+ * Compare name tag / key of a previously parsed element.
  *
  * This call is valid only after vici_parse() returned VICI_PARSE_KEY_VALUE,
  * VICI_PARSE_BEGIN_SECTION or VICI_PARSE_BEGIN_LIST.
--- strongswan-5.6.1.orig/src/libcharon/processing/jobs/delete_ike_sa_job.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/processing/jobs/delete_ike_sa_job.h	2018-03-30 19:44:28.167673940 -0500
@@ -33,7 +33,7 @@
  * Class representing an DELETE_IKE_SA Job.
  *
  * This job is responsible for deleting established or half open IKE_SAs.
- * A half open IKE_SA is every IKE_SA which hasn't reache the SA_ESTABLISHED
+ * A half open IKE_SA is every IKE_SA which hasn't reached the SA_ESTABLISHED
  * state.
  */
 struct delete_ike_sa_job_t {
--- strongswan-5.6.1.orig/src/libcharon/sa/child_sa.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/child_sa.h	2018-03-30 13:20:56.178304940 -0500
@@ -139,13 +139,13 @@
  * SAs and the policies have the same reqid.
  *
  * The procedure for child sa setup is as follows:
- * - A gets SPIs for a all protocols in its proposals via child_sa_t.alloc
+ * - A gets SPIs for all protocols in its proposals via child_sa_t.alloc
  * - A send the proposals with the allocated SPIs to B
  * - B selects a suitable proposal
  * - B allocates an SPI for the selected protocol
- * - B calls child_sa_t.install for both, the allocated and received SPI
+ * - B calls child_sa_t.install for both the allocated and received SPI
  * - B sends the proposal with the allocated SPI to A
- * - A calls child_sa_t.install for both, the allocated and recevied SPI
+ * - A calls child_sa_t.install for both the allocated and recevied SPI
  *
  * Once SAs are set up, policies can be added using add_policies.
  */
--- strongswan-5.6.1.orig/src/libcharon/sa/eap/eap_method.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/eap/eap_method.h	2018-03-30 19:41:53.941088871 -0500
@@ -162,7 +162,7 @@
  * Constructors for server and peers are identical, to support both roles
  * of a EAP method, a plugin needs register two constructors in the
  * eap_manager_t.
- * The passed identites are of type ID_EAP and valid only during the
+ * The passed identities are of type ID_EAP and valid only during the
  * constructor invocation.
  *
  * @param server		ID of the server to use for credential lookup
--- strongswan-5.6.1.orig/src/libcharon/sa/ike_sa.h	2017-11-16 13:36:57.000000000 -0600
+++ strongswan-5.6.1/src/libcharon/sa/ike_sa.h	2018-03-30 19:43:38.706165662 -0500
@@ -233,7 +233,7 @@
  * Timing information and statistics to query from an SA
  */
 enum statistic_t {
-	/** Timestamp of SA establishement */
+	/** Timestamp of SA establishment */
 	STAT_ESTABLISHED = 0,
 	/** Timestamp of scheduled rekeying */
 	STAT_REKEY,
@@ -971,7 +971,7 @@
 	/**
 	 * Rekey the CHILD SA with the specified reqid.
 	 *
-	 * Looks for a CHILD SA owned by this IKE_SA, and start the rekeing.
+	 * Looks for a CHILD SA owned by this IKE_SA, and start the rekeying.
 	 *
 	 * @param protocol		protocol of the SA
 	 * @param spi			inbound SPI of the CHILD_SA
@@ -1032,7 +1032,7 @@
 	status_t (*reauth) (ike_sa_t *this);
 
 	/**
-	 * Restablish the IKE_SA.
+	 * Reestablish the IKE_SA.
 	 *
 	 * Reestablish an IKE_SA after it has been closed.
 	 *
@@ -1133,7 +1133,7 @@
 	void (*flush_queue)(ike_sa_t *this, task_queue_t queue);
 
 	/**
-	 * Queue a task for initiaton to the task manager.
+	 * Queue a task for initiation to the task manager.
 	 *
 	 * @param task			task to queue
 	 */
--- strongswan-5.6.1.orig/src/libcharon/sa/ikev2/authenticators/pubkey_authenticator.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/ikev2/authenticators/pubkey_authenticator.h	2018-03-30 19:42:27.973438691 -0500
@@ -27,7 +27,7 @@
 #include <sa/authenticator.h>
 
 /**
- * Implementation of authenticator_t using public key authenitcation.
+ * Implementation of authenticator_t using public key authentication.
  */
 struct pubkey_authenticator_t {
 
--- strongswan-5.6.1.orig/src/libcharon/sa/ikev2/keymat_v2.h	2017-11-09 09:57:30.000000000 -0600
+++ strongswan-5.6.1/src/libcharon/sa/ikev2/keymat_v2.h	2018-03-30 19:42:36.279524065 -0500
@@ -100,7 +100,7 @@
 	 * @param nonce			nonce value
 	 * @param id			identity
 	 * @param reserved		reserved bytes of id_payload
-	 * @param octests		chunk receiving allocated auth octets
+	 * @param octets		chunk receiving allocated auth octets
 	 * @param schemes		array containing signature schemes
 	 * 						(signature_params_t*) in case they need to be
 	 *						modified by the keymat implementation
--- strongswan-5.6.1.orig/src/libcharon/sa/ikev2/tasks/ike_mobike.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/ikev2/tasks/ike_mobike.h	2018-03-30 19:42:48.105645621 -0500
@@ -63,7 +63,7 @@
 	void (*dpd)(ike_mobike_t *this);
 
 	/**
-	 * Transmision hook, called by task manager.
+	 * Transmission hook, called by task manager.
 	 *
 	 * The task manager calls this hook whenever it transmits a packet. It
 	 * allows the mobike task to send the packet on multiple paths to do path
--- strongswan-5.6.1.orig/src/libcharon/sa/keymat.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/keymat.h	2018-03-30 19:41:37.637921280 -0500
@@ -98,7 +98,7 @@
  *
  * @param version			requested IKE version
  * @param initiator			TRUE if we are initiator
- * @return					keymat_t implmenetation
+ * @return					keymat_t implementation
  */
 keymat_t *keymat_create(ike_version_t version, bool initiator);
 
--- strongswan-5.6.1.orig/src/libcharon/sa/task.h	2017-02-11 06:02:22.000000000 -0600
+++ strongswan-5.6.1/src/libcharon/sa/task.h	2018-03-30 19:43:50.296284770 -0500
@@ -115,7 +115,7 @@
 /**
  * Interface for a task, an operation handled within exchanges.
  *
- * A task is an elemantary operation. It may be handled by a single or by
+ * A task is an elementary operation. It may be handled by a single or by
  * multiple exchanges. An exchange may even complete multiple tasks.
  * A task has a build() and an process() operation. The build() operation
  * creates payloads and adds it to the message. The process() operation
--- strongswan-5.6.1.orig/src/libcharon/sa/task_manager.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/sa/task_manager.h	2018-03-30 19:44:04.255428218 -0500
@@ -86,7 +86,7 @@
  * completed.
  * For the initial IKE_SA setup, several tasks are queued: One for the
  * unauthenticated IKE_SA setup, one for authentication, one for CHILD_SA setup
- * and maybe one for virtual IP assignement.
+ * and maybe one for virtual IP assignment.
  * The task manager is also responsible for retransmission. It uses a backoff
  * algorithm. The timeout is calculated using
  * RETRANSMIT_TIMEOUT * (RETRANSMIT_BASE ** try).
--- strongswan-5.6.1.orig/src/libcharon/tests/utils/exchange_test_helper.h	2016-06-20 03:49:09.000000000 -0500
+++ strongswan-5.6.1/src/libcharon/tests/utils/exchange_test_helper.h	2018-03-30 19:44:37.670771588 -0500
@@ -43,7 +43,7 @@
 
 	/**
 	 * Set the initial byte of all nonces generated by future nonce
-	 * generators (already instatiated nonce generators are not affected).
+	 * generators (already instantiated nonce generators are not affected).
 	 */
 	u_char nonce_first_byte;
 
--- strongswan-5.6.1.orig/src/libfast/fast_request.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libfast/fast_request.h	2018-03-30 19:46:54.624178607 -0500
@@ -171,7 +171,7 @@
 	 * server-push functionality.
 	 *
 	 * @param format	printf like format string
-	 * @param ...		argmuent list to format string
+	 * @param ...		argument list to format string
 	 * @return			number of streamed bytes, < 0 if stream closed
 	 */
 	int (*streamf)(fast_request_t *this, char *format, ...);
--- strongswan-5.6.1.orig/src/libimcv/pts/components/pts_component.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libimcv/pts/components/pts_component.h	2018-03-30 19:52:48.011814875 -0500
@@ -63,7 +63,7 @@
 	 *
 	 * @param qualifier		PTS Component Functional Name Qualifier
 	 * @param pts			PTS interface
-	 * @param evidence		returns component evidence measureemt
+	 * @param evidence		returns component evidence measurement
 	 * @param measurements	additional file measurements (NULL if not present)
 	 * @return				status return code
 	 */
--- strongswan-5.6.1.orig/src/libimcv/pts/pts_pcr.h	2016-06-26 11:40:01.000000000 -0500
+++ strongswan-5.6.1/src/libimcv/pts/pts_pcr.h	2018-03-30 19:52:58.799926596 -0500
@@ -92,7 +92,7 @@
 	 * Extend the content of a PCR
 	 *
 	 * @param pcr			index of PCR
-	 * @param measurement	measurment value to be extended into PCR
+	 * @param measurement	measurement value to be extended into PCR
 	 * @return				new content of PCR
 	 */
 	chunk_t (*extend)(pts_pcr_t *this, uint32_t pcr, chunk_t measurement);
--- strongswan-5.6.1.orig/src/libipsec/ipsec_policy.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libipsec/ipsec_policy.h	2018-03-30 19:39:34.450654739 -0500
@@ -94,7 +94,7 @@
 	 * @param direction		traffic direction
 	 * @param reqid			reqid of the policy
 	 * @param mark			mark for this policy
-	 * @param prioirty		policy priority
+	 * @param priority		policy priority
 	 * @return				TRUE if policy matches all parameters
 	 */
 	bool (*match)(ipsec_policy_t *this, traffic_selector_t *src_ts,
--- strongswan-5.6.1.orig/src/libpttls/pt_tls_client.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libpttls/pt_tls_client.h	2018-03-30 19:39:58.747904577 -0500
@@ -51,7 +51,7 @@
  * Create a pt_tls_client instance.
  *
  * The client identity is used for:
- * - TLS authentication if an appropirate certificate is found
+ * - TLS authentication if an appropriate certificate is found
  * - SASL authentication if requested from the server
  *
  * @param address		address/port to run assessments against, gets owned
--- strongswan-5.6.1.orig/src/libpttls/pt_tls.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libpttls/pt_tls.h	2018-03-30 19:40:14.664068230 -0500
@@ -69,7 +69,7 @@
 extern enum_name_t *pt_tls_message_type_names;
 
 /**
- * Result code for a single SASL mechansim, as sent in PT_TLS_SASL_RESULT
+ * Result code for a single SASL mechanism, as sent in PT_TLS_SASL_RESULT
  */
 enum pt_tls_sasl_result_t {
 	PT_TLS_SASL_RESULT_SUCCESS = 0,
@@ -102,7 +102,7 @@
  * @param tls			TLS socket to read from
  * @param vendor		receives Message Type Vendor ID from header
  * @param type			receives Message Type from header
- * @param identifier	receives Message Identifer
+ * @param identifier	receives Message Identifier
  * @return				reader over message value, NULL on error
  */
 bio_reader_t* pt_tls_read(tls_socket_t *tls, uint32_t *vendor,
--- strongswan-5.6.1.orig/src/libpttls/sasl/sasl_mechanism.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libpttls/sasl/sasl_mechanism.h	2018-03-30 19:39:48.953803869 -0500
@@ -29,7 +29,7 @@
 #include <library.h>
 
 /**
- * Constructor function for SASL mechansims.
+ * Constructor function for SASL mechanisms.
  *
  * @param name			name of the requested SASL mechanism
  * @param client		client identity, NULL to act as server
--- strongswan-5.6.1.orig/src/libradius/radius_client.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libradius/radius_client.h	2018-03-30 19:47:04.241277395 -0500
@@ -30,7 +30,7 @@
  * RADIUS client functionality.
  *
  * To communicate with a RADIUS server, create a client and send messages over
- * it. The client allocates a socket from the best RADIUS server abailable.
+ * it. The client allocates a socket from the best RADIUS server available.
  */
 struct radius_client_t {
 
--- strongswan-5.6.1.orig/src/libsimaka/simaka_manager.h	2016-07-08 03:57:18.000000000 -0500
+++ strongswan-5.6.1/src/libsimaka/simaka_manager.h	2018-03-30 19:52:24.746573930 -0500
@@ -98,7 +98,7 @@
 	 * @param id		permanent identity to request quintuplet for
 	 * @param rand		random value rand
 	 * @param auts		resynchronization parameter auts
-	 * @return			TRUE if calculated, FALSE if no matcing card found
+	 * @return			TRUE if calculated, FALSE if no matching card found
 	 */
 	bool (*card_resync)(simaka_manager_t *this, identification_t *id,
 						char rand[AKA_RAND_LEN], char auts[AKA_AUTS_LEN]);
--- strongswan-5.6.1.orig/src/libsimaka/simaka_provider.h	2016-07-08 03:57:18.000000000 -0500
+++ strongswan-5.6.1/src/libsimaka/simaka_provider.h	2018-03-30 19:52:15.584479036 -0500
@@ -75,7 +75,7 @@
 						   char autn[AKA_AUTN_LEN]);
 
 	/**
-	 * Process AKA resynchroniusation request of a peer.
+	 * Process AKA resynchronisation request of a peer.
 	 *
 	 * @param id		permanent identity of peer requesting resynchronisation
 	 * @param rand		random value rand
@@ -95,7 +95,7 @@
 									  identification_t *id);
 
 	/**
-	 * Generate a pseudonym identitiy for a given peer identity.
+	 * Generate a pseudonym identity for a given peer identity.
 	 *
 	 * @param id		permanent identity to generate a pseudonym for
 	 * @return			generated pseudonym, NULL to not use a pseudonym identity
--- strongswan-5.6.1.orig/src/libstrongswan/asn1/asn1.h	2017-11-09 09:57:30.000000000 -0600
+++ strongswan-5.6.1/src/libstrongswan/asn1/asn1.h	2018-03-30 19:51:34.271051128 -0500
@@ -100,7 +100,7 @@
 chunk_t asn1_algorithmIdentifier(int oid);
 
 /**
- * Build an algorithmIdentifier from a known OID and the given prameters.
+ * Build an algorithmIdentifier from a known OID and the given parameters.
  *
  * @param oid		known OID index
  * @param params	parameters to encode in the algorithmIdentifier (adopted)
--- strongswan-5.6.1.orig/src/libstrongswan/bio/bio_reader.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/bio/bio_reader.h	2018-03-30 19:51:24.477949727 -0500
@@ -142,7 +142,7 @@
 	 * Read a chunk of len bytes from the end of the buffer, reduce remaining.
 	 *
 	 * @param len		number of bytes to read
-	 * @param res		ponter to result, not cloned
+	 * @param res		pointer to result, not cloned
 	 * @return			TRUE if data read successfully
 	 */
 	bool (*read_data_end)(bio_reader_t *this, uint32_t len, chunk_t *res);
--- strongswan-5.6.1.orig/src/libstrongswan/collections/array.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/collections/array.h	2018-03-30 19:47:57.260821970 -0500
@@ -87,7 +87,7 @@
 /**
  * Create an enumerator over an array.
  *
- * The enumerater enumerates directly over the array element (pass a pointer to
+ * The enumerator enumerates directly over the array element (pass a pointer to
  * element types), unless the array is pointer based. If zero is passed as
  * element size during construction, the enumerator enumerates over the
  * dereferenced pointer values.
--- strongswan-5.6.1.orig/src/libstrongswan/collections/linked_list.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/collections/linked_list.h	2018-03-30 19:48:21.934075380 -0500
@@ -195,7 +195,7 @@
 	 * If a linked list contains objects with function pointers,
 	 * invoke() can call a method on each of the objects. The
 	 * method is specified by an offset of the function pointer,
-	 * which can be evalutated at compile time using the offsetof
+	 * which can be evaluated at compile time using the offsetof
 	 * macro, e.g.: list->invoke(list, offsetof(object_t, method));
 	 *
 	 * @param offset	offset of the method to invoke on objects
--- strongswan-5.6.1.orig/src/libstrongswan/credentials/auth_cfg.h	2017-11-09 09:57:30.000000000 -0600
+++ strongswan-5.6.1/src/libstrongswan/credentials/auth_cfg.h	2018-03-30 19:49:01.202478641 -0500
@@ -141,7 +141,7 @@
  * RFC4739 defines multiple authentication rounds. This class defines such
  * a round from a configuration perspective, either for the local or the remote
  * peer. Local configs are called "rulesets". They define how we authenticate.
- * Remote peer configs are called "constraits". They define what is needed to
+ * Remote peer configs are called "constraints". They define what is needed to
  * complete the authentication round successfully.
  *
  * @verbatim
--- strongswan-5.6.1.orig/src/libstrongswan/credentials/certificates/certificate_printer.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/credentials/certificates/certificate_printer.h	2018-03-30 19:49:16.377634474 -0500
@@ -62,7 +62,7 @@
  *
  * @param f				file where print output is directed to (usually stdout)
  * @param detailed		print more detailed certificate information
- * @param utc			print time inforamtion in UTC
+ * @param utc			print time information in UTC
  */
 certificate_printer_t* certificate_printer_create(FILE *f, bool detailed,
 												  bool utc);
--- strongswan-5.6.1.orig/src/libstrongswan/credentials/containers/container.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/credentials/containers/container.h	2018-03-30 19:49:09.811567046 -0500
@@ -87,7 +87,7 @@
 	 * Get the encoding of the full signed/encrypted container.
 	 *
 	 * @param data	allocated container encoding
-	 * @return		TRUE if encodign successful
+	 * @return		TRUE if encoding successful
 	 */
 	bool (*get_encoding)(container_t *this, chunk_t *encoding);
 
--- strongswan-5.6.1.orig/src/libstrongswan/crypto/crypto_tester.h	2017-08-14 01:48:41.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/crypto/crypto_tester.h	2018-03-30 19:50:45.213546619 -0500
@@ -257,7 +257,7 @@
 	 *
 	 * @param group			group to test
 	 * @param create		constructor function for the DH backend
-	 * @param speed			speeed test result, NULL to omit
+	 * @param speed			speed test result, NULL to omit
 	 * @return				TRUE if test passed
 	 */
 	bool (*test_dh)(crypto_tester_t *this, diffie_hellman_group_t group,
--- strongswan-5.6.1.orig/src/libstrongswan/fetcher/fetcher.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/fetcher/fetcher.h	2018-03-30 19:51:12.504826764 -0500
@@ -115,8 +115,8 @@
 	/**
 	 * Fetch data from URI into chunk.
 	 *
-	 * The fetcher returns NOT_SUPPORTED to indicate that it is uncappable
-	 * to handle such URLs. Other return values indicate a failure, and
+	 * The fetcher returns NOT_SUPPORTED to indicate that it is incapable
+	 * of handling such URLs. Other return values indicate a failure, and
 	 * fetching of that URL gets cancelled.
 	 * If no FETCH_CALLBACK function is set as option, userdata must be
 	 * a chunk_t*. This chunk gets allocated, accumulated data using the
--- strongswan-5.6.1.orig/src/libstrongswan/networking/host.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/networking/host.h	2018-03-30 19:48:41.239273632 -0500
@@ -35,7 +35,7 @@
 #include <sys/types.h>
 
 /**
- * Representates a Host
+ * Represents a Host
  *
  * Host object, identifies a address:port pair and defines some
  * useful functions on it.
--- strongswan-5.6.1.orig/src/libstrongswan/plugins/bliss/bliss_signature.h	2016-08-16 10:24:34.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/plugins/bliss/bliss_signature.h	2018-03-30 19:50:35.406445931 -0500
@@ -40,7 +40,7 @@
 	chunk_t (*get_encoding)(bliss_signature_t *this);
 
 	/**
-	 * Get signature parameters extracted from compressd binary encoding
+	 * Get signature parameters extracted from compressed binary encoding
 	 *
 	 * @param z1		signature vector z1 of size n
 	 * @param z2d		signature vector z2d of size n
--- strongswan-5.6.1.orig/src/libstrongswan/plugins/hmac/hmac_plugin.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/plugins/hmac/hmac_plugin.h	2018-03-30 19:50:40.062493728 -0500
@@ -29,7 +29,7 @@
 typedef struct hmac_plugin_t hmac_plugin_t;
 
 /**
- * Plugin implementing HMAC algorithm to prvoide hash based PRF and signers.
+ * Plugin implementing HMAC algorithm to provide hash based PRF and signers.
  */
 struct hmac_plugin_t {
 
--- strongswan-5.6.1.orig/src/libstrongswan/plugins/ntru/ntru_drbg.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/plugins/ntru/ntru_drbg.h	2018-03-30 19:50:15.864245287 -0500
@@ -71,7 +71,7 @@
 };
 
 /**
- * Create and instantiate a new DRBG objet.
+ * Create and instantiate a new DRBG object.
  *
  * @param strength		security strength in bits
  * @param pers_str		personalization string
--- strongswan-5.6.1.orig/src/libstrongswan/plugins/ntru/ntru_poly.h	2016-09-27 03:40:31.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/plugins/ntru/ntru_poly.h	2018-03-30 19:50:24.109329943 -0500
@@ -49,7 +49,7 @@
 	void (*get_array)(ntru_poly_t *this, uint16_t *array);
 
 	/**
-	 * Multiply polynomial a with ntru_poly_t object b having sparse coeffients
+	 * Multiply polynomial a with ntru_poly_t object b having sparse coefficients
 	 * to form result polynomial c = a * b
 	 *
 	 * @param a			input polynomial a
--- strongswan-5.6.1.orig/src/libstrongswan/plugins/openssl/openssl_util.h	2016-10-08 07:17:09.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/plugins/openssl/openssl_util.h	2018-03-30 19:50:32.081411793 -0500
@@ -49,7 +49,7 @@
 bool openssl_hash_chunk(int hash_type, chunk_t data, chunk_t *hash);
 
 /**
- * Concatenates two bignums into a chunk, thereby enfocing the length of
+ * Concatenates two bignums into a chunk, thereby enforcing the length of
  * a single BIGNUM, if necessary, by pre-pending it with zeros.
  *
  * Note: this function allocates memory for the chunk
--- strongswan-5.6.1.orig/src/libstrongswan/utils/backtrace.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/utils/backtrace.h	2018-03-30 19:47:21.270452312 -0500
@@ -83,7 +83,7 @@
 /**
  * Create a backtrace of the current stack.
  *
- * @param skip		how many of the innerst frames to skip
+ * @param skip		how many of the innermost frames to skip
  * @return			backtrace
  */
 backtrace_t *backtrace_create(int skip);
--- strongswan-5.6.1.orig/src/libstrongswan/utils/chunk.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/utils/chunk.h	2018-03-30 19:47:42.379669128 -0500
@@ -332,7 +332,7 @@
 }
 
 /**
- * Increment a chunk, as it would reprensent a network order integer.
+ * Increment a chunk, as it would represent a network order integer.
  *
  * @param chunk			chunk to increment
  * @return				TRUE if an overflow occurred
@@ -347,7 +347,7 @@
  *
  * @param chunk			chunk to check for printability
  * @param sane			pointer where sane version is allocated, or NULL
- * @param replace		character to use for replaceing unprintable characters
+ * @param replace		character to use for replacing unprintable characters
  * @return				TRUE if all characters in chunk are printable
  */
 bool chunk_printable(chunk_t chunk, chunk_t *sane, char replace);
--- strongswan-5.6.1.orig/src/libstrongswan/utils/identification.h	2016-04-26 10:15:37.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/utils/identification.h	2018-03-30 19:47:50.613753699 -0500
@@ -315,7 +315,7 @@
  * is interpreted as hex encoded binary data for that ID, otherwise the raw
  * string following the prefix is used as identity data, without conversion.
  * To specify a non-standard ID type, the numerical type may be prefixed
- * between curly backets, building a prefix. For instance the "{1}:" prefix
+ * between curly brackets, building a prefix. For instance the "{1}:" prefix
  * defines an ID_IPV4_ADDR type.
  *
  * This constructor never returns NULL. If it does not find a suitable
--- strongswan-5.6.1.orig/src/libstrongswan/utils/utils.h	2017-10-04 09:08:35.000000000 -0500
+++ strongswan-5.6.1/src/libstrongswan/utils/utils.h	2018-03-30 19:47:09.119327501 -0500
@@ -206,7 +206,7 @@
  * Block and wait for a set of signals
  *
  * We don't replicate the functionality of siginfo_t.  If info is not NULL
- * -1 is returend and errno is set to EINVAL.
+ * -1 is returned and errno is set to EINVAL.
  *
  * @param set		set of signals to wait for
  * @param info		must be NULL
--- strongswan-5.6.1.orig/src/libtls/tls_socket.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libtls/tls_socket.h	2018-03-30 19:41:19.689736771 -0500
@@ -104,7 +104,7 @@
  * @param peer				client identity, NULL for no client authentication
  * @param fd				socket to read/write from
  * @param cache				session cache to use, or NULL
- * @param max_version		maximun TLS version to negotiate
+ * @param max_version		maximum TLS version to negotiate
  * @param nullok			accept NULL encryption ciphers
  * @return					TLS socket wrapper
  */
--- strongswan-5.6.1.orig/src/libtncif/tncif_policy.h	2016-04-22 15:01:35.000000000 -0500
+++ strongswan-5.6.1/src/libtncif/tncif_policy.h	2018-03-30 19:41:01.941554309 -0500
@@ -42,7 +42,7 @@
 /**
  * Create an empty TNC Identity object
  *
- * @param rec			Existing recommendationto be updated
+ * @param rec			Existing recommendation to be updated
  * @param rec_add		Partial recommendation to be added
  * @return				Updated recommendation
  */


More information about the Dev mailing list