diff options
author | Matt Caswell <matt@openssl.org> | 2022-07-26 12:44:09 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2022-08-18 16:38:14 +0100 |
commit | 19d00444488c0a5861911ac8ba6b71c5c1f6c19a (patch) | |
tree | 368c8f0933e244de50f0ba2673931fa24f606032 /ssl/record/rec_layer_s3.c | |
parent | a16f9d3366a4b4e8c8014bbf39b86baaf1a04047 (diff) | |
download | openssl-new-19d00444488c0a5861911ac8ba6b71c5c1f6c19a.tar.gz |
Remove some redundant code
Reviewed-by: Hugo Landau <hlandau@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18132)
Diffstat (limited to 'ssl/record/rec_layer_s3.c')
-rw-r--r-- | ssl/record/rec_layer_s3.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ssl/record/rec_layer_s3.c b/ssl/record/rec_layer_s3.c index 041e069a88..0adf5d49a9 100644 --- a/ssl/record/rec_layer_s3.c +++ b/ssl/record/rec_layer_s3.c @@ -44,7 +44,6 @@ void RECORD_LAYER_clear(RECORD_LAYER *rl) ssl3_release_write_buffer(rl->s); - RECORD_LAYER_reset_read_sequence(rl); RECORD_LAYER_reset_write_sequence(rl); if (rl->rrlmethod != NULL) @@ -82,11 +81,6 @@ int RECORD_LAYER_write_pending(const RECORD_LAYER *rl) && SSL3_BUFFER_get_left(&rl->wbuf[rl->numwpipes - 1]) != 0; } -void RECORD_LAYER_reset_read_sequence(RECORD_LAYER *rl) -{ - memset(rl->read_sequence, 0, sizeof(rl->read_sequence)); -} - void RECORD_LAYER_reset_write_sequence(RECORD_LAYER *rl) { memset(rl->write_sequence, 0, sizeof(rl->write_sequence)); |