Skip to content

Commit

Permalink
Update the comment on ssl3_write_pending()
Browse files Browse the repository at this point in the history
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 #17611)
  • Loading branch information
yangyangtiantianlonglong authored and t8m committed Feb 1, 2022
1 parent b375a8a commit 7c7c356
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ssl/record/rec_layer_s3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
*/
Expand Down

0 comments on commit 7c7c356

Please sign in to comment.