Submitted by: Robin Seggelmann <seggelmann@fh-muenster.de>
Approved by: steve@openssl.org

DTLS cookie resumption and typo fix.
This commit is contained in:
Dr. Stephen Henson
2009-07-24 11:50:51 +00:00
parent 6563b02980
commit 76a268a43f
2 changed files with 3 additions and 1 deletions

View File

@@ -220,6 +220,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:

View File

@@ -732,7 +732,7 @@ start:
/* Check for timeout */
if (dtls1_is_timer_expired(s))
{
if (dtls1_read_failed(s, -1) > 0);
if (dtls1_read_failed(s, -1) > 0)
goto start;
}