From 46ffb2dc979ced1645601dfa2ed7630d07016acb Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Tue, 14 Apr 2009 15:29:34 +0000 Subject: PR #1828 reverted: state save/restore incompatible with 1.0.0-stable. --- ssl/d1_pkt.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'ssl/d1_pkt.c') diff --git a/ssl/d1_pkt.c b/ssl/d1_pkt.c index 2e9d5452f7..c215d7096a 100644 --- a/ssl/d1_pkt.c +++ b/ssl/d1_pkt.c @@ -1020,9 +1020,7 @@ start: n2s(p, seq); n2l3(p, frag_off); - dtls1_retransmit_message(s, - dtls1_get_queue_priority(frag->msg_header.seq, 0), - frag_off, &found); + dtls1_retransmit_message(s, seq, frag_off, &found); if ( ! found && SSL_in_init(s)) { /* fprintf( stderr,"in init = %d\n", SSL_in_init(s)); */ @@ -1111,16 +1109,6 @@ start: goto start; } - /* If we are server, we may have a repeated FINISHED of the - * client here, then retransmit our CCS and FINISHED. - */ - if (msg_hdr.type == SSL3_MT_FINISHED) - { - dtls1_retransmit_buffered_messages(s); - rr->length = 0; - goto start; - } - if (((s->state&SSL_ST_MASK) == SSL_ST_OK) && !(s->s3->flags & SSL3_FLAGS_NO_RENEGOTIATE_CIPHERS)) { @@ -1775,7 +1763,6 @@ dtls1_reset_seq_numbers(SSL *s, int rw) else { seq = s->s3->write_sequence; - memcpy(s->d1->last_write_sequence, seq, sizeof(s->s3->write_sequence)); s->d1->w_epoch++; } -- cgit v1.2.3-70-g09d2