mirror of
https://github.com/openssl/openssl.git
synced 2025-04-06 20:20:50 +08:00
Remove wpend_ret that was only assigned and never used.
Reviewed-by: Neil Horman <nhorman@openssl.org> Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/23191)
This commit is contained in:
parent
3980118484
commit
0a40b23cb8
@ -32,7 +32,6 @@ void RECORD_LAYER_clear(RECORD_LAYER *rl)
|
||||
rl->handshake_fragment_len = 0;
|
||||
rl->wpend_tot = 0;
|
||||
rl->wpend_type = 0;
|
||||
rl->wpend_ret = 0;
|
||||
rl->wpend_buf = NULL;
|
||||
|
||||
if (rl->rrlmethod != NULL)
|
||||
@ -310,7 +309,6 @@ int ssl3_write_bytes(SSL *ssl, uint8_t type, const void *buf_, size_t len,
|
||||
s->rlayer.wpend_tot = 0;
|
||||
s->rlayer.wpend_type = type;
|
||||
s->rlayer.wpend_buf = buf;
|
||||
s->rlayer.wpend_ret = len;
|
||||
}
|
||||
|
||||
if (tot == len) { /* done? */
|
||||
|
@ -108,8 +108,6 @@ typedef struct record_layer_st {
|
||||
/* number bytes written */
|
||||
size_t wpend_tot;
|
||||
uint8_t wpend_type;
|
||||
/* number of bytes submitted */
|
||||
size_t wpend_ret;
|
||||
const unsigned char *wpend_buf;
|
||||
|
||||
/* Count of the number of consecutive warning alerts received */
|
||||
|
Loading…
x
Reference in New Issue
Block a user