summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorAndrew Dinh <andrewd@openssl.org>2024-11-07 21:47:32 +0100
committerTomas Mraz <tomas@openssl.org>2024-11-13 17:24:40 +0100
commitef39dd058ba2a0e24e92c1c5c97810bba9b6cbe0 (patch)
tree0e898ff2ba7c2da1ec5421d65d758c2dd910be07 /ssl
parenttest_hashtable_multithread(): Stress it more (diff)
downloadopenssl-ef39dd058ba2a0e24e92c1c5c97810bba9b6cbe0.tar.xz
openssl-ef39dd058ba2a0e24e92c1c5c97810bba9b6cbe0.zip
Change "a SSL" to "an SSL"
Reviewed-by: Matt Caswell <matt@openssl.org> Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com> (Merged from https://github.com/openssl/openssl/pull/25868)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/record/rec_layer_d1.c2
-rw-r--r--ssl/record/rec_layer_s3.c2
-rw-r--r--ssl/ssl_lib.c2
-rw-r--r--ssl/ssl_local.h2
-rw-r--r--ssl/statem/statem_srvr.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/ssl/record/rec_layer_d1.c b/ssl/record/rec_layer_d1.c
index ee45f8117d..d55887d9aa 100644
--- a/ssl/record/rec_layer_d1.c
+++ b/ssl/record/rec_layer_d1.c
@@ -174,7 +174,7 @@ static void dtls_unbuffer_record(SSL_CONNECTION *s)
* - SSL3_RT_APPLICATION_DATA (when ssl3_read calls us)
* - 0 (during a shutdown, no data has to be returned)
*
- * If we don't have stored data to work from, read a SSL/TLS record first
+ * If we don't have stored data to work from, read an SSL/TLS record first
* (possibly multiple records if we still don't have anything to return).
*
* This function must handle any surprises the peer may have for us, such as
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index 5f7839f6a2..7022d08cea 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -590,7 +590,7 @@ int ssl_release_record(SSL_CONNECTION *s, TLS_RECORD *rr, size_t length)
* - SSL3_RT_APPLICATION_DATA (when ssl3_read calls us)
* - 0 (during a shutdown, no data has to be returned)
*
- * If we don't have stored data to work from, read a SSL/TLS record first
+ * If we don't have stored data to work from, read an SSL/TLS record first
* (possibly multiple records if we still don't have anything to return).
*
* This function must handle any surprises the peer may have for us, such as
diff --git a/ssl/ssl_lib.c b/ssl/ssl_lib.c
index fe14fbfdd3..6f6adf8963 100644
--- a/ssl/ssl_lib.c
+++ b/ssl/ssl_lib.c
@@ -5040,7 +5040,7 @@ SSL *SSL_dup(SSL *s)
{
SSL *ret;
int i;
- /* TODO(QUIC FUTURE): Add a SSL_METHOD function for duplication */
+ /* TODO(QUIC FUTURE): Add an SSL_METHOD function for duplication */
SSL_CONNECTION *retsc;
SSL_CONNECTION *sc = SSL_CONNECTION_FROM_SSL_ONLY(s);
diff --git a/ssl/ssl_local.h b/ssl/ssl_local.h
index 06d1bce526..3cb74378e5 100644
--- a/ssl/ssl_local.h
+++ b/ssl/ssl_local.h
@@ -820,7 +820,7 @@ struct ssl_ctx_st {
/*
* If this callback is not null, it will be called each time a session id
* is added to the cache. If this function returns 1, it means that the
- * callback will do a SSL_SESSION_free() when it has finished using it.
+ * callback will do an SSL_SESSION_free() when it has finished using it.
* Otherwise, on 0, it means the callback has finished with it. If
* remove_session_cb is not null, it will be called when a session-id is
* removed from the cache. After the call, OpenSSL will
diff --git a/ssl/statem/statem_srvr.c b/ssl/statem/statem_srvr.c
index 7fbc1b052d..5d5aa45dee 100644
--- a/ssl/statem/statem_srvr.c
+++ b/ssl/statem/statem_srvr.c
@@ -1532,7 +1532,7 @@ MSG_PROCESS_RETURN tls_process_client_hello(SSL_CONNECTION *s, PACKET *pkt)
|| mt != SSL2_MT_CLIENT_HELLO) {
/*
* Should never happen. We should have tested this in the record
- * layer in order to have determined that this is a SSLv2 record
+ * layer in order to have determined that this is an SSLv2 record
* in the first place
*/
SSLfatal(s, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);