summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDimitri Papadopoulos <3234522+DimitriPapadopoulos@users.noreply.github.com>2023-05-09 09:06:40 +0200
committerPauli <pauli@openssl.org>2023-06-15 10:11:46 +1000
commiteb4129e12cdf7fe64b3ce352f539e3dbeb1b1321 (patch)
tree70ffce338d4927b9053db6c3b7b8e16af9e9b681 /include
parent71cf587ea21c1422640847e358019a51806d2811 (diff)
Fix typos found by codespell
Typos in doc/man* will be fixed in a different commit. Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/20910)
Diffstat (limited to 'include')
-rw-r--r--include/internal/bio_tfo.h2
-rw-r--r--include/internal/endian.h2
-rw-r--r--include/internal/event_queue.h4
-rw-r--r--include/internal/packet_quic.h2
-rw-r--r--include/internal/quic_cc.h2
-rw-r--r--include/internal/recordmethod.h4
-rw-r--r--include/openssl/ec.h2
7 files changed, 9 insertions, 9 deletions
diff --git a/include/internal/bio_tfo.h b/include/internal/bio_tfo.h
index 729e5b833d..fc907e6c2c 100644
--- a/include/internal/bio_tfo.h
+++ b/include/internal/bio_tfo.h
@@ -78,7 +78,7 @@
* Linux pre-4.14)
*
* OSSL_TFO_DO_NOT_CONNECT
- * Defined to skip calling conect() when creating a
+ * Defined to skip calling connect() when creating a
* client socket (macOS, FreeBSD, Linux pre-4.14)
*/
diff --git a/include/internal/endian.h b/include/internal/endian.h
index 8b34e03e44..eb43eade17 100644
--- a/include/internal/endian.h
+++ b/include/internal/endian.h
@@ -12,7 +12,7 @@
# pragma once
/*
- * IS_LITTLE_ENDIAN and IS_BIG_ENDIAN can be used to detect the endiannes
+ * IS_LITTLE_ENDIAN and IS_BIG_ENDIAN can be used to detect the endianness
* at compile time. To use it, DECLARE_IS_ENDIAN must be used to declare
* a variable.
*
diff --git a/include/internal/event_queue.h b/include/internal/event_queue.h
index bc77e5acaa..7027378307 100644
--- a/include/internal/event_queue.h
+++ b/include/internal/event_queue.h
@@ -100,7 +100,7 @@ void ossl_event_queue_free(OSSL_EVENT_QUEUE *queue);
*
* The event parameters are taken from the function arguments.
*
- * The function reutrns NULL on failure and the added event on success.
+ * The function returns NULL on failure and the added event on success.
*/
OSSL_EVENT *ossl_event_queue_add_new(OSSL_EVENT_QUEUE *queue,
uint32_t type, uint32_t priority,
@@ -113,7 +113,7 @@ OSSL_EVENT *ossl_event_queue_add_new(OSSL_EVENT_QUEUE *queue,
*
* The event parameters are taken from the function arguments.
*
- * The function reutrns 0 on failure and 1 on success.
+ * The function returns 0 on failure and 1 on success.
*/
int ossl_event_queue_add(OSSL_EVENT_QUEUE *queue, OSSL_EVENT *event,
uint32_t type, uint32_t priority,
diff --git a/include/internal/packet_quic.h b/include/internal/packet_quic.h
index 447f75b81f..7784e62c16 100644
--- a/include/internal/packet_quic.h
+++ b/include/internal/packet_quic.h
@@ -114,7 +114,7 @@ __owur int WPACKET_start_quic_sub_packet(WPACKET *pkt);
/*
* Starts a QUIC sub-packet headed by a QUIC variable-length integer. max_len
* specifies the upper bound for the sub-packet size at the time the sub-packet
- * is closed, which determines the encoding size for tthe variable-length
+ * is closed, which determines the encoding size for the variable-length
* integer header. max_len can be a precise figure or a worst-case bound
* if a precise figure is not available.
*/
diff --git a/include/internal/quic_cc.h b/include/internal/quic_cc.h
index d26ea55da5..d3b74e8cbd 100644
--- a/include/internal/quic_cc.h
+++ b/include/internal/quic_cc.h
@@ -60,7 +60,7 @@ typedef struct ossl_cc_ecn_info_st {
*
* This interface is broadly based on the design described in RFC 9002. However,
* the demarcation between the ACKM and the congestion controller does not
- * exactly match that delineated in the RFC 9002 psuedocode. Where aspects of
+ * exactly match that delineated in the RFC 9002 pseudocode. Where aspects of
* the demarcation involve the congestion controller accessing internal state of
* the ACKM, the interface has been revised where possible to provide the
* information needed by the congestion controller and avoid needing to give the
diff --git a/include/internal/recordmethod.h b/include/internal/recordmethod.h
index 7327e30482..a9823e43e4 100644
--- a/include/internal/recordmethod.h
+++ b/include/internal/recordmethod.h
@@ -24,7 +24,7 @@
*/
/*
- * An OSSL_RECORD_METHOD is a protcol specific method which provides the
+ * An OSSL_RECORD_METHOD is a protocol specific method which provides the
* functions for reading and writing records for that protocol. Which
* OSSL_RECORD_METHOD to use for a given protocol is defined by the SSL_METHOD.
*/
@@ -161,7 +161,7 @@ struct ossl_record_method_st {
int (*processed_read_pending)(OSSL_RECORD_LAYER *rl);
/*
- * The amount of processed app data that is internally bufferred and
+ * The amount of processed app data that is internally buffered and
* available to read
*/
size_t (*app_data_pending)(OSSL_RECORD_LAYER *rl);
diff --git a/include/openssl/ec.h b/include/openssl/ec.h
index 3089dfccd4..85ec5e3bb1 100644
--- a/include/openssl/ec.h
+++ b/include/openssl/ec.h
@@ -1303,7 +1303,7 @@ OSSL_DEPRECATEDIN_3_0 int EC_KEY_set_method(EC_KEY *key, const EC_KEY_METHOD *me
OSSL_DEPRECATEDIN_3_0 EC_KEY *EC_KEY_new_method(ENGINE *engine);
/** The old name for ecdh_KDF_X9_63
- * The ECDH KDF specification has been mistakingly attributed to ANSI X9.62,
+ * The ECDH KDF specification has been mistakenly attributed to ANSI X9.62,
* it is actually specified in ANSI X9.63.
* This identifier is retained for backwards compatibility
*/