summaryrefslogtreecommitdiffstats
path: root/src/ssl/d1_clnt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ssl/d1_clnt.c')
-rw-r--r--src/ssl/d1_clnt.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/ssl/d1_clnt.c b/src/ssl/d1_clnt.c
index 1827a67..92fb8f6 100644
--- a/src/ssl/d1_clnt.c
+++ b/src/ssl/d1_clnt.c
@@ -155,12 +155,7 @@ int dtls1_connect(SSL *s) {
state = s->state;
switch (s->state) {
- case SSL_ST_RENEGOTIATE:
- s->renegotiate = 1;
- s->state = SSL_ST_CONNECT;
- /* break */
case SSL_ST_CONNECT:
- case SSL_ST_BEFORE | SSL_ST_CONNECT:
if (cb != NULL) {
cb(s, SSL_CB_HANDSHAKE_START, 1);
}
@@ -472,8 +467,7 @@ int dtls1_connect(SSL *s) {
ssl_free_wbio_buffer(s);
s->init_num = 0;
- s->renegotiate = 0;
- s->new_session = 0;
+ s->s3->initial_handshake_complete = 1;
ssl_update_cache(s, SSL_SESS_CACHE_CLIENT);