summaryrefslogtreecommitdiffstats
path: root/Utilities/cmcurl/lib/vtls/vtls.c
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-08-19 16:50:05 (GMT)
committerBrad King <brad.king@kitware.com>2020-08-19 16:50:05 (GMT)
commit7d0fa4a943f90567979b5d43c2249cc58ccca5d7 (patch)
treead4d0e4827e65d0986220c03fe7a0197d430dd6e /Utilities/cmcurl/lib/vtls/vtls.c
parentc156948327abea7fc569fd94efa474d682a1211f (diff)
parent7ceb56989f8ab3a4e1b1f2c48c9a0f382b85ec04 (diff)
downloadCMake-7d0fa4a943f90567979b5d43c2249cc58ccca5d7.zip
CMake-7d0fa4a943f90567979b5d43c2249cc58ccca5d7.tar.gz
CMake-7d0fa4a943f90567979b5d43c2249cc58ccca5d7.tar.bz2
Merge branch 'upstream-curl' into update-curl
* upstream-curl: curl 2020-08-19 (9d954e49)
Diffstat (limited to 'Utilities/cmcurl/lib/vtls/vtls.c')
-rw-r--r--Utilities/cmcurl/lib/vtls/vtls.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Utilities/cmcurl/lib/vtls/vtls.c b/Utilities/cmcurl/lib/vtls/vtls.c
index c3a55fb..281043a 100644
--- a/Utilities/cmcurl/lib/vtls/vtls.c
+++ b/Utilities/cmcurl/lib/vtls/vtls.c
@@ -621,6 +621,7 @@ void Curl_ssl_close(struct connectdata *conn, int sockindex)
{
DEBUGASSERT((sockindex <= 1) && (sockindex >= -1));
Curl_ssl->close_one(conn, sockindex);
+ conn->ssl[sockindex].state = ssl_connection_none;
}
CURLcode Curl_ssl_shutdown(struct connectdata *conn, int sockindex)