From: Tianjia Zhang Date: Sat, 25 Sep 2021 10:06:15 +0000 (+0800) Subject: ssl: Correct comment for ssl3_read_bytes() X-Git-Tag: openssl-3.2.0-alpha1~3512 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=105af0ad923a665ca5fee296b52dbf34b524a2aa;p=thirdparty%2Fopenssl.git ssl: Correct comment for ssl3_read_bytes() Reviewed-by: Tomas Mraz Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/16680) --- diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index ea7b0cbfde3..d26437f026c 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