mirror of
https://github.com/curl/curl.git
synced 2025-09-27 14:36:48 +03:00
gnutls: put reset code into else block
Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=690551
This commit is contained in:
parent
c79c0909d9
commit
1a02e84589
|
@ -309,11 +309,12 @@ static CURLcode handshake(struct connectdata *conn,
|
|||
failf(data, "gnutls_handshake() failed: %s", gnutls_strerror(rc));
|
||||
return CURLE_SSL_CONNECT_ERROR;
|
||||
}
|
||||
|
||||
else {
|
||||
/* Reset our connect state machine */
|
||||
connssl->connecting_state = ssl_connect_1;
|
||||
return CURLE_OK;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static gnutls_x509_crt_fmt do_file_type(const char *type)
|
||||
|
|
Loading…
Reference in New Issue
Block a user