PR: 1647
authorDr. Stephen Henson <steve@openssl.org>
Tue, 14 Apr 2009 14:22:26 +0000 (14:22 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Tue, 14 Apr 2009 14:22:26 +0000 (14:22 +0000)
Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Approved by: steve@openssl.org

Update patch for PR#1647.

ssl/d1_clnt.c
ssl/d1_srvr.c

index f569d4beacdea52676028c18dc4332bb8176276c..8833547292d50eac51485f0a1d99225112112cae 100644 (file)
@@ -488,6 +488,7 @@ int dtls1_connect(SSL *s)
 
                        /* done with handshaking */
                        s->d1->handshake_read_seq  = 0;
+                       s->d1->next_handshake_write_seq = 0;
                        goto end;
                        /* break; */
                        
index 1ded18df507d9db886232ed583b9cb26bcf31669..f4c12b226595d8402f58cca42ef0dd2d00b35783 100644 (file)
@@ -555,6 +555,7 @@ int dtls1_accept(SSL *s)
                        s->d1->handshake_read_seq = 0;
                        /* next message is server hello */
                        s->d1->handshake_write_seq = 0;
+                       s->d1->next_handshake_write_seq = 0;
                        goto end;
                        /* break; */