aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h18
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index eb5952174..130b76c7e 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -125,14 +125,6 @@ struct ssl_connect_data {
#endif /* USE_SSLEAY */
};
-/* information about one single SSL session */
-struct curl_ssl_session {
- char *name; /* host name for which this ID was used */
- void *sessionid; /* as returned from the SSL layer */
- long age; /* just a number, the higher the more recent */
- unsigned short remote_port; /* remote port to connect to */
-};
-
struct ssl_config_data {
long version; /* what version the client wants to use */
long certverifyresult; /* result from the certificate verification */
@@ -148,6 +140,16 @@ struct ssl_config_data {
long numsessions; /* SSL session id cache size */
};
+/* information stored about one single SSL session */
+struct curl_ssl_session {
+ char *name; /* host name for which this ID was used */
+ void *sessionid; /* as returned from the SSL layer */
+ long age; /* just a number, the higher the more recent */
+ unsigned short remote_port; /* remote port to connect to */
+ struct ssl_config_data ssl_config; /* setup for this session */
+};
+
+
/****************************************************************************
* HTTP unique setup
***************************************************************************/