summaryrefslogtreecommitdiffstats
path: root/ssl
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2021-09-25 18:06:15 +0800
committerPauli <pauli@openssl.org>2021-09-28 18:15:22 +1000
commit144562d412580f58656d64959bfe6d4794fef6a2 (patch)
tree0385ac21d16d6e08d77eec71db750d263c6d6a6a /ssl
parent09f24c909cb717f40ebb4a6de2699aa971dcc15d (diff)
ssl: Correct comment for ssl3_read_bytes()
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/16680) (cherry picked from commit 105af0ad923a665ca5fee296b52dbf34b524a2aa)
Diffstat (limited to 'ssl')
-rw-r--r--ssl/record/rec_layer_s3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c
index ea7b0cbfde..d26437f026 100644
--- a/ssl/record/rec_layer_s3.c
+++ b/ssl/record/rec_layer_s3.c
@@ -1246,7 +1246,7 @@ int ssl3_write_pending(SSL *s, int type, const unsigned char *buf, size_t len,
*
* This function must handle any surprises the peer may have for us, such as
* Alert records (e.g. close_notify) or renegotiation requests. ChangeCipherSpec
- * messages are treated as if they were handshake messages *if* the |recd_type|
+ * messages are treated as if they were handshake messages *if* the |recvd_type|
* argument is non NULL.
* Also if record payloads contain fragments too small to process, we store
* them until there is enough for the respective protocol (the record protocol