aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/gtls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gtls.c b/lib/gtls.c
index 3bf988194..05efd11c7 100644
--- a/lib/gtls.c
+++ b/lib/gtls.c
@@ -501,7 +501,7 @@ Curl_gtls_connect(struct connectdata *conn,
ptr = gnutls_mac_get_name(gnutls_mac_get(session));
infof(data, "\t MAC: %s\n", ptr);
- connssl->state = ssl_connection_complete;
+ conn->ssl[sockindex].state = ssl_connection_complete;
if(!ssl_sessionid) {
/* this session was not previously in the cache, add it now */