diff options
author | Matt Caswell <matt@openssl.org> | 2015-02-01 16:30:37 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2015-03-26 14:53:07 +0100 |
commit | 92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4 (patch) | |
tree | 49d52d6436d880481277fd249377c9ed715d3d19 /ssl/s3_enc.c | |
parent | Move s->s3->rrec to s->rlayer->rrec (diff) | |
download | openssl-92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4.tar.xz openssl-92ffa83d8b5bb9ba9d56a8e321d5924956a0bbe4.zip |
Encapsulate s->s3->wrec
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/s3_enc.c')
-rw-r--r-- | ssl/s3_enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/s3_enc.c b/ssl/s3_enc.c index b36aca8891..19cd49a85e 100644 --- a/ssl/s3_enc.c +++ b/ssl/s3_enc.c @@ -500,7 +500,7 @@ int ssl3_enc(SSL *s, int send) if (send) { ds = s->enc_write_ctx; - rec = &(s->s3->wrec); + rec = RECORD_LAYER_get_wrec(&s->rlayer); if (s->enc_write_ctx == NULL) enc = NULL; else @@ -725,7 +725,7 @@ int n_ssl3_mac(SSL *ssl, unsigned char *md, int send) int t; if (send) { - rec = &(ssl->s3->wrec); + rec = RECORD_LAYER_get_wrec(&ssl->rlayer); mac_sec = &(ssl->s3->write_mac_secret[0]); seq = &(ssl->s3->write_sequence[0]); hash = ssl->write_hash; |