summaryrefslogtreecommitdiffstats
path: root/ssl/d1_srvr.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2015-02-03 14:26:50 +0000
committerMatt Caswell <matt@openssl.org>2015-03-26 15:02:00 +0000
commitde07f311ce5569d698c86c7498f98345a9f472d6 (patch)
tree132ba2d1e8aeb0a677a4fac97b602991832b6e4b /ssl/d1_srvr.c
parentf8caa3c813bcf9c621f8576eeba8a0df67596dac (diff)
Move read_sequence and write_sequence from s->s3 to s->rlayer
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'ssl/d1_srvr.c')
-rw-r--r--ssl/d1_srvr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssl/d1_srvr.c b/ssl/d1_srvr.c
index b55af35c75..1a0df5b788 100644
--- a/ssl/d1_srvr.c
+++ b/ssl/d1_srvr.c
@@ -330,8 +330,8 @@ int dtls1_accept(SSL *s)
* listening
*/
if (listen) {
- memcpy(s->s3->write_sequence, s->s3->read_sequence,
- sizeof(s->s3->write_sequence));
+ RECORD_LAYER_set_write_sequence(&s->rlayer,
+ RECORD_LAYER_get_read_sequence(&s->rlayer));
}
/* If we're just listening, stop here */