summaryrefslogtreecommitdiffstats
path: root/ssl/d1_srvr.c
diff options
context:
space:
mode:
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 */