summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorShane Lontis <shane.lontis@oracle.com>2021-03-04 13:54:40 +1000
committerShane Lontis <shane.lontis@oracle.com>2021-03-09 16:25:45 +1000
commit3e6a0d57389d7e5e45b06753692873e40dd125e9 (patch)
tree09b840d01e3e223627a0cf59a15a2672f721d7c9 /crypto
parent889ad4ef8181093d5c088d5518c7b353ddb48455 (diff)
Reword repeated words.
A trivial PR to remove some commonly repeated words. It looks like this is not the first PR to do this. Reviewed-by: Richard Levitte <levitte@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14420)
Diffstat (limited to 'crypto')
-rw-r--r--crypto/asn1/a_strex.c2
-rw-r--r--crypto/cryptlib.c2
-rw-r--r--crypto/ct/ct_sct.c2
-rw-r--r--crypto/evp/ctrl_params_translate.c2
-rw-r--r--crypto/whrlpool/wp_block.c2
-rw-r--r--crypto/x509/by_store.c2
-rw-r--r--crypto/x509/pcy_tree.c2
7 files changed, 7 insertions, 7 deletions
diff --git a/crypto/asn1/a_strex.c b/crypto/asn1/a_strex.c
index 67d53b748b..11c6296bba 100644
--- a/crypto/asn1/a_strex.c
+++ b/crypto/asn1/a_strex.c
@@ -32,7 +32,7 @@
ASN1_STRFLGS_ESC_MSB)
/*
- * Three IO functions for sending data to memory, a BIO and and a FILE
+ * Three IO functions for sending data to memory, a BIO and a FILE
* pointer.
*/
static int send_bio_chars(void *arg, const void *buf, int len)
diff --git a/crypto/cryptlib.c b/crypto/cryptlib.c
index 7779ad05fe..fdefafc1fe 100644
--- a/crypto/cryptlib.c
+++ b/crypto/cryptlib.c
@@ -432,7 +432,7 @@ void OPENSSL_die(const char *message, const char *file, int line)
#if !defined(OPENSSL_CPUID_OBJ)
/*
- * The volatile is used to to ensure that the compiler generates code that reads
+ * The volatile is used to ensure that the compiler generates code that reads
* all values from the array and doesn't try to optimize this away. The standard
* doesn't actually require this behavior if the original data pointed to is
* not volatile, but compilers do this in practice anyway.
diff --git a/crypto/ct/ct_sct.c b/crypto/ct/ct_sct.c
index ab22ecafad..41fbfaba75 100644
--- a/crypto/ct/ct_sct.c
+++ b/crypto/ct/ct_sct.c
@@ -343,7 +343,7 @@ int SCT_validate(SCT *sct, const CT_POLICY_EVAL_CTX *ctx)
* XXX: Potential for optimization. This repeats some idempotent heavy
* lifting on the certificate for each candidate SCT, and appears to not
* use any information in the SCT itself, only the certificate is
- * processed. So it may make more sense to to do this just once, perhaps
+ * processed. So it may make more sense to do this just once, perhaps
* associated with the shared (by all SCTs) policy eval ctx.
*
* XXX: Failure here is global (SCT independent) and represents either an
diff --git a/crypto/evp/ctrl_params_translate.c b/crypto/evp/ctrl_params_translate.c
index 966278171c..32af4eedd3 100644
--- a/crypto/evp/ctrl_params_translate.c
+++ b/crypto/evp/ctrl_params_translate.c
@@ -202,7 +202,7 @@ struct translation_ctx_st {
*/
/*
- * Copy of the ctrl-style void* argument, if the the fixup_args function
+ * Copy of the ctrl-style void* argument, if the fixup_args function
* needs to manipulate |p2| but wants to remember original.
*/
void *orig_p2;
diff --git a/crypto/whrlpool/wp_block.c b/crypto/whrlpool/wp_block.c
index e5aa1a03ce..ac6cd95a74 100644
--- a/crypto/whrlpool/wp_block.c
+++ b/crypto/whrlpool/wp_block.c
@@ -165,7 +165,7 @@ typedef u64 u64_aX;
*/
/*
* Note that every Cn macro expands as two loads: one byte load and
- * one quadword load. One can argue that that many single-byte loads
+ * one quadword load. One can argue that many single-byte loads
* is too excessive, as one could load a quadword and "milk" it for
* eight 8-bit values instead. Well, yes, but in order to do so *and*
* avoid excessive loads you have to accommodate a handful of 64-bit
diff --git a/crypto/x509/by_store.c b/crypto/x509/by_store.c
index 29d9700ab1..9dd687f757 100644
--- a/crypto/x509/by_store.c
+++ b/crypto/x509/by_store.c
@@ -188,7 +188,7 @@ static int by_store_subject_ex(X509_LOOKUP *ctx, X509_LOOKUP_TYPE type,
*
* To be noted is that X509_OBJECT_set1_* increment the refcount,
* but so does X509_STORE_CTX_get_by_subject upon return of this
- * function, so we must ensure the the refcount is decremented
+ * function, so we must ensure the refcount is decremented
* before we return, or we will get a refcount leak. We cannot do
* this with X509_OBJECT_free(), though, as that will free a bit
* too much.
diff --git a/crypto/x509/pcy_tree.c b/crypto/x509/pcy_tree.c
index 12cfb627fe..367de35857 100644
--- a/crypto/x509/pcy_tree.c
+++ b/crypto/x509/pcy_tree.c
@@ -479,7 +479,7 @@ static int tree_calculate_authority_set(X509_POLICY_TREE *tree,
curr = tree->levels;
for (i = 1; i < tree->nlevel; i++) {
/*
- * If no anyPolicy node on this this level it can't appear on lower
+ * If no anyPolicy node on this level it can't appear on lower
* levels so end search.
*/
if ((anyptr = curr->anyPolicy) == NULL)