diff options
author | Matt Caswell <matt@openssl.org> | 2015-02-01 15:30:37 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-26 13:53:07 +0000 |
commit | 92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4 (patch) | |
tree | 49d52d6436d880481277fd249377c9ed715d3d19 /ssl/s3_pkt.c | |
parent | cd986e55865987c95bb89bd48b0ea1b0d7422860 (diff) | |
download | openssl-92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4.tar.gz |
Encapsulate s->s3->wrec
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r-- | ssl/s3_pkt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_pkt.c b/ssl/s3_pkt.c index b86ee1e5cf..1ec76664be 100644 --- a/ssl/s3_pkt.c +++ b/ssl/s3_pkt.c @@ -619,7 +619,7 @@ int ssl3_do_compress(SSL *ssl) int i; SSL3_RECORD *wr; - wr = &(ssl->s3->wrec); + wr = RECORD_LAYER_get_wrec(&ssl->rlayer); i = COMP_compress_block(ssl->compress, wr->data, SSL3_RT_MAX_COMPRESSED_LENGTH, wr->input, (int)wr->length); @@ -900,7 +900,7 @@ static int do_ssl3_write(SSL *s, int type, const unsigned char *buf, if (len == 0 && !create_empty_fragment) return 0; - wr = &(s->s3->wrec); + wr = RECORD_LAYER_get_wrec(&s->rlayer); sess = s->session; if ((sess == NULL) || |