Fix common misspellings and typos

Change-Id: I8152acaccd33a4b646d56cba0748aeefa0c16b35
diff --git a/src/rspro/NativeInteger.c b/src/rspro/NativeInteger.c
index ef17bee..17a58ea 100644
--- a/src/rspro/NativeInteger.c
+++ b/src/rspro/NativeInteger.c
@@ -94,7 +94,7 @@
 	/*
 	 * ASN.1 encoded INTEGER: buf_ptr, length
 	 * Fill the native, at the same time checking for overflow.
-	 * If overflow occured, return with RC_FAIL.
+	 * If overflow occurred, return with RC_FAIL.
 	 */
 	{
 		INTEGER_t tmp;
diff --git a/src/rspro/OCTET_STRING.c b/src/rspro/OCTET_STRING.c
index 3e424e7..6df9a0a 100644
--- a/src/rspro/OCTET_STRING.c
+++ b/src/rspro/OCTET_STRING.c
@@ -109,7 +109,7 @@
 /*
  * The main reason why ASN.1 is still alive is that too much time and effort
  * is necessary for learning it more or less adequately, thus creating a gut
- * necessity to demonstrate that aquired skill everywhere afterwards.
+ * necessity to demonstrate that acquired skill everywhere afterwards.
  * No, I am not going to explain what the following stuff is.
  */
 struct _stack_el {
diff --git a/src/rspro/ber_tlv_tag.c b/src/rspro/ber_tlv_tag.c
index 4270876..adf3a25 100644
--- a/src/rspro/ber_tlv_tag.c
+++ b/src/rspro/ber_tlv_tag.c
@@ -42,7 +42,7 @@
 			 */
 			if(val >> ((8 * sizeof(val)) - 9)) {
 				/*
-				 * We would not be able to accomodate
+				 * We would not be able to accommodate
 				 * any more tag bits.
 				 */
 				return -1;
diff --git a/src/rspro/constr_CHOICE.c b/src/rspro/constr_CHOICE.c
index 18c24cd..6a88b29 100644
--- a/src/rspro/constr_CHOICE.c
+++ b/src/rspro/constr_CHOICE.c
@@ -156,7 +156,7 @@
 			}
 
 			if(ctx->left >= 0) {
-				/* ?Substracted below! */
+				/* ?Subtracted below! */
 				ctx->left += rval.consumed;
 			}
 			ADVANCE(rval.consumed);
diff --git a/src/rspro/constr_SEQUENCE.c b/src/rspro/constr_SEQUENCE.c
index 21e5190..0ffa282 100644
--- a/src/rspro/constr_SEQUENCE.c
+++ b/src/rspro/constr_SEQUENCE.c
@@ -166,7 +166,7 @@
 		}
 
 		if(ctx->left >= 0)
-			ctx->left += rval.consumed; /* ?Substracted below! */
+			ctx->left += rval.consumed; /* ?Subtracted below! */
 		ADVANCE(rval.consumed);
 
 		NEXT_PHASE(ctx);
diff --git a/src/rspro/converter-sample.c b/src/rspro/converter-sample.c
index 2f74a80..6047273 100644
--- a/src/rspro/converter-sample.c
+++ b/src/rspro/converter-sample.c
@@ -390,7 +390,7 @@
 
 /*
  * Move the buffer content left N bits, possibly joining it with
- * preceeding content.
+ * preceding content.
  */
 static void
 buffer_shift_left(size_t offset, int bits) {
diff --git a/src/rspro/per_opentype.c b/src/rspro/per_opentype.c
index 8c42f8b..e697cbb 100644
--- a/src/rspro/per_opentype.c
+++ b/src/rspro/per_opentype.c
@@ -154,7 +154,7 @@
 	} else {
 		FREEMEM(buf);
 		/* rv.code could be RC_WMORE, nonsense in this context */
-		rv.code = RC_FAIL; /* Noone would give us more */
+		rv.code = RC_FAIL; /* No one would give us more */
 	}
 
 	return rv;
diff --git a/src/simtrace2/apdu_dispatch.c b/src/simtrace2/apdu_dispatch.c
index 7c7ed01..b9dc3b7 100644
--- a/src/simtrace2/apdu_dispatch.c
+++ b/src/simtrace2/apdu_dispatch.c
@@ -59,7 +59,7 @@
 }
 
 /*! \brief input function for APDU segmentation
- *  \param ac APDU context accross successive calls
+ *  \param ac APDU context across successive calls
  *  \param[in] apdu_buf APDU inpud data buffer
  *  \param[in] apdu_len Length of apdu_buf
  *  \param[in] new_apdu Is this the beginning of a new APDU?