summaryrefslogtreecommitdiffstats
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2009-07-24 13:52:55 +0200
committerDr. Stephen Henson <steve@openssl.org>2009-07-24 13:52:55 +0200
commit0f65d5eba521bd8b72cad309bbfd688a35295017 (patch)
tree6112a54cd78879285512d38141ee1131eaedadee /ssl/d1_clnt.c
parentFix from 0.9.8-stable (diff)
downloadopenssl-0f65d5eba521bd8b72cad309bbfd688a35295017.tar.xz
openssl-0f65d5eba521bd8b72cad309bbfd688a35295017.zip
PR: 1993
Fix from 0.9.8-stable.
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index dcca4dbd8b..0274745d3c 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -223,6 +223,8 @@ int dtls1_connect(SSL *s)
s->init_num=0;
/* mark client_random uninitialized */
memset(s->s3->client_random,0,sizeof(s->s3->client_random));
+ s->d1->send_cookie = 0;
+ s->hit = 0;
break;
case SSL3_ST_CW_CLNT_HELLO_A: