PR: 1993
Fix from 0.9.8-stable.
This commit is contained in:
parent
02ce897e80
commit
d7406b1528
@ -223,6 +223,8 @@ int dtls1_connect(SSL *s)
|
|||||||
s->init_num=0;
|
s->init_num=0;
|
||||||
/* mark client_random uninitialized */
|
/* mark client_random uninitialized */
|
||||||
memset(s->s3->client_random,0,sizeof(s->s3->client_random));
|
memset(s->s3->client_random,0,sizeof(s->s3->client_random));
|
||||||
|
s->d1->send_cookie = 0;
|
||||||
|
s->hit = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case SSL3_ST_CW_CLNT_HELLO_A:
|
case SSL3_ST_CW_CLNT_HELLO_A:
|
||||||
|
@ -775,7 +775,7 @@ start:
|
|||||||
/* Check for timeout */
|
/* Check for timeout */
|
||||||
if (dtls1_is_timer_expired(s))
|
if (dtls1_is_timer_expired(s))
|
||||||
{
|
{
|
||||||
if (dtls1_read_failed(s, -1) > 0);
|
if (dtls1_read_failed(s, -1) > 0)
|
||||||
goto start;
|
goto start;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user