ssl: Correct comment for ssl3_read_bytes()
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>
Sat, 25 Sep 2021 10:06:15 +0000 (18:06 +0800)
committerPauli <pauli@openssl.org>
Tue, 28 Sep 2021 08:13:53 +0000 (18:13 +1000)
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16680)

ssl/record/rec_layer_s3.c

index ea7b0cbfde37dbb4dc5e6bc536ec6818a7916a46..d26437f026c3ee63ee39e5935a0d2e9a637259e7 100644 (file)
@@ -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