Skip to content
Permalink
Browse files

OpenSSL: add support for TLS ASYNC state

Closes #3591
  • Loading branch information...
Bernd Mueller authored and bagder committed Feb 20, 2019
1 parent 66637b4 commit 90236edee466b40fd1eb55f356d8fff30d5fba60
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/vtls/openssl.c
@@ -2808,6 +2808,12 @@ static CURLcode ossl_connect_step2(struct connectdata *conn, int sockindex)
connssl->connecting_state = ssl_connect_2_writing;
return CURLE_OK;
}
#ifdef SSL_ERROR_WANT_ASYNC
if(SSL_ERROR_WANT_ASYNC == detail) {
connssl->connecting_state = ssl_connect_2;
return CURLE_OK;
}
#endif
else {
/* untreated error */
unsigned long errdetail;

0 comments on commit 90236ed

Please sign in to comment.
You can’t perform that action at this time.