]> git.ipfire.org Git - thirdparty/openssl.git/commitdiff
Update the comment on ssl3_write_pending()
authoryangyangtiantianlonglong <yangtianlong1224@163.com>
Sat, 29 Jan 2022 09:08:50 +0000 (17:08 +0800)
committerTomas Mraz <tomas@openssl.org>
Tue, 1 Feb 2022 16:49:14 +0000 (17:49 +0100)
The struct s->s3 has been modified.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/17611)

ssl/record/rec_layer_s3.c

index c8b078021b4cda56759d62c868dbbeb8ae33da59..ce579613febeea73f13518629a35c8688b04f31f 100644 (file)
@@ -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()
  */