From 7c7c3561ebfb26799e2d12b5f9f0826731a6a06b Mon Sep 17 00:00:00 2001 From: yangyangtiantianlonglong Date: Sat, 29 Jan 2022 17:08:50 +0800 Subject: [PATCH] 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) --- ssl/record/rec_layer_s3.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() */ -- 2.47.3