]> granicus.if.org Git - curl/commitdiff
struct Curl_share: provide sslsession unconditionally
authorDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2011 14:33:07 +0000 (16:33 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 4 Oct 2011 14:33:07 +0000 (16:33 +0200)
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 15e3e451702396e

lib/share.h

index cb5c6c7f3b43c6e7cf170a16eabc6802c2946482..c9546567d0949fef3b62a2964ab0ca9f78b78dbf 100644 (file)
@@ -50,9 +50,7 @@ struct Curl_share {
   struct CookieInfo *cookies;
 #endif
 
-#ifdef USE_SSL
   struct curl_ssl_session *sslsession;
-#endif
   unsigned int nsslsession;
 };