winhttp: Store security flags in netconn_t.
diff --git a/dlls/winhttp/session.c b/dlls/winhttp/session.c
index acf7eb9..490da05 100644
--- a/dlls/winhttp/session.c
+++ b/dlls/winhttp/session.c
@@ -741,7 +741,7 @@
             set_last_error( ERROR_INVALID_PARAMETER );
             return FALSE;
         }
-        request->security_flags = flags;
+        request->netconn.security_flags = flags;
         return TRUE;
     }
     case WINHTTP_OPTION_RESOLVE_TIMEOUT:
diff --git a/dlls/winhttp/winhttp_private.h b/dlls/winhttp/winhttp_private.h
index 43961fe..c2dfdbe 100644
--- a/dlls/winhttp/winhttp_private.h
+++ b/dlls/winhttp/winhttp_private.h
@@ -128,6 +128,7 @@
     char *peek_msg;
     char *peek_msg_mem;
     size_t peek_len;
+    DWORD security_flags;
 } netconn_t;
 
 typedef struct
@@ -155,7 +156,6 @@
     DWORD content_read;   /* bytes read so far */
     header_t *headers;
     DWORD num_headers;
-    DWORD security_flags;
 } request_t;
 
 typedef struct _task_header_t task_header_t;