From 9019fc5671f10dce9d29992d54a2b9ea5ac16b8b Mon Sep 17 00:00:00 2001
From: Daniel Stenberg <daniel@haxx.se>
Date: Wed, 20 Feb 2008 10:01:28 +0000
Subject: [PATCH] oops, fixed to build

---
 lib/gtls.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */