summaryrefslogtreecommitdiff
path: root/ssl/d1_clnt.c
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2010-08-27 12:10:12 +0000
committerDr. Stephen Henson <steve@openssl.org>2010-08-27 12:10:12 +0000
commitc6dd154b3e410f72e09ff472fe4e70ebf02173f8 (patch)
treee55bf904880067f1e9fcd4acf84676d127779e57 /ssl/d1_clnt.c
parent74b5feea7bbe0b8223aabaad04c159709936989f (diff)
downloadopenssl-new-c6dd154b3e410f72e09ff472fe4e70ebf02173f8.tar.gz
oops, revert previous patch
Diffstat (limited to 'ssl/d1_clnt.c')
-rw-r--r--ssl/d1_clnt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ssl/d1_clnt.c b/ssl/d1_clnt.c
index 5bc9eb6603..255c19d761 100644
--- a/ssl/d1_clnt.c
+++ b/ssl/d1_clnt.c
@@ -171,7 +171,7 @@ int dtls1_connect(SSL *s)
switch(s->state)
{
case SSL_ST_RENEGOTIATE:
- s->new_session=1;
+ s->renegotiate=1;
s->state=SSL_ST_CONNECT;
s->ctx->stats.sess_connect_renegotiate++;
/* break */
@@ -539,6 +539,7 @@ int dtls1_connect(SSL *s)
/* else do it later in ssl3_write */
s->init_num=0;
+ s->renegotiate=0;
s->new_session=0;
ssl_update_cache(s,SSL_SESS_CACHE_CLIENT);