From: yangyangtiantianlonglong Date: Sat, 29 Jan 2022 09:08:50 +0000 (+0800) Subject: Update the comment on ssl3_write_pending() X-Git-Tag: openssl-3.2.0-alpha1~2986 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=7c7c3561ebfb26799e2d12b5f9f0826731a6a06b;p=thirdparty%2Fopenssl.git Update the comment on ssl3_write_pending() The struct s->s3 has been modified. Reviewed-by: Matt Caswell Reviewed-by: Paul Dale Reviewed-by: Tomas Mraz (Merged from https://github.com/openssl/openssl/pull/17611) --- diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index c8b078021b4..ce579613feb 100644 --- a/ssl/record/rec_layer_s3.c +++ b/ssl/record/rec_layer_s3.c @@ -1151,7 +1151,7 @@ int do_ssl3_write(SSL *s, int type, const unsigned char *buf, return -1; } -/* if s->s3.wbuf.left != 0, we need to call this +/* if SSL3_BUFFER_get_left() != 0, we need to call this * * Return values are as per SSL_write() */