Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/openssl/openssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-01 18:30:37 +0300
committerMatt Caswell <matt@openssl.org>2015-03-26 16:53:07 +0300
commit92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4 (patch)
tree49d52d6436d880481277fd249377c9ed715d3d19 /ssl/s3_pkt.c
parentcd986e55865987c95bb89bd48b0ea1b0d7422860 (diff)
Encapsulate s->s3->wrec
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/s3_pkt.c')
-rw-r--r--ssl/s3_pkt.c4
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) ||