1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

struct Curl_share: provide sslsession unconditionally

It makes much nicer and less convuluted code everywhere if this struct
member is always present even when libcurl is built without SSL support.

This reverts parts of commit 15e3e45170
This commit is contained in:
Daniel Stenberg 2011-10-04 16:33:07 +02:00
parent fa77f54a03
commit 5c809178c2

View File

@ -50,9 +50,7 @@ struct Curl_share {
struct CookieInfo *cookies; struct CookieInfo *cookies;
#endif #endif
#ifdef USE_SSL
struct curl_ssl_session *sslsession; struct curl_ssl_session *sslsession;
#endif
unsigned int nsslsession; unsigned int nsslsession;
}; };