summaryrefslogtreecommitdiffstats
path: root/include/internal
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-07-16 09:09:31 +0200
committerTomas Mraz <tomas@openssl.org>2023-09-11 10:15:30 +0200
commitad31628cfef5893b2198077752302a7d9b58135c (patch)
tree3d95d6074b1c4f272a60aa95b2dfedf24ddd85d0 /include/internal
parent84f371a130dbe7a46595fbabd274f152a0e6385f (diff)
Remove repeated words
Found by running the checkpatch.pl Linux script to enforce coding style. Reviewed-by: Paul Dale <pauli@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21468)
Diffstat (limited to 'include/internal')
-rw-r--r--include/internal/bio_tfo.h4
-rw-r--r--include/internal/quic_ackm.h2
-rw-r--r--include/internal/recordmethod.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/include/internal/bio_tfo.h b/include/internal/bio_tfo.h
index 6351443933..64c0d4c327 100644
--- a/include/internal/bio_tfo.h
+++ b/include/internal/bio_tfo.h
@@ -54,7 +54,7 @@
* Some options are purposely NOT defined per-platform
*
* OSSL_TFO_SYSCTL
- * Defined as a sysctlbyname() option to to determine if
+ * Defined as a sysctlbyname() option to determine if
* TFO is enabled in the kernel (macOS, FreeBSD)
*
* OSSL_TFO_SERVER_SOCKOPT
@@ -86,7 +86,7 @@
/*
* NO WINDOWS SUPPORT
*
- * But this is is what would be used on the server:
+ * But this is what would be used on the server:
*
* define OSSL_TFO_SERVER_SOCKOPT TCP_FASTOPEN
* define OSSL_TFO_SERVER_SOCKOPT_VALUE 1
diff --git a/include/internal/quic_ackm.h b/include/internal/quic_ackm.h
index f92f0ebaf2..03fc608867 100644
--- a/include/internal/quic_ackm.h
+++ b/include/internal/quic_ackm.h
@@ -225,7 +225,7 @@ int ossl_ackm_is_ack_desired(OSSL_ACKM *ackm, int pkt_space);
* the RFC.
*
* The return value of this function transitions from 1 to 0 for a given PN once
- * that PN is passed to ossl_ackm_on_rx_packet, thus thus function must be used
+ * that PN is passed to ossl_ackm_on_rx_packet, thus this function must be used
* before calling ossl_ackm_on_rx_packet.
*/
int ossl_ackm_is_rx_pn_processable(OSSL_ACKM *ackm, QUIC_PN pn, int pkt_space);
diff --git a/include/internal/recordmethod.h b/include/internal/recordmethod.h
index e0bc0f3231..53bd4ca6d2 100644
--- a/include/internal/recordmethod.h
+++ b/include/internal/recordmethod.h
@@ -228,7 +228,7 @@ struct ossl_record_method_st {
* remain available until all the bytes from record are released via one or
* more release_record calls.
*
- * Internally the the OSSL_RECORD_METHOD the implementation may read/process
+ * Internally the OSSL_RECORD_METHOD implementation may read/process
* multiple records in one go and buffer them.
*/
int (*read_record)(OSSL_RECORD_LAYER *rl, void **rechandle, int *rversion,