From 07f107ae20f60247e716a814ec7bafbda9df945a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 14 Dec 2004 09:36:22 +0000 Subject: Moved the engine stuff from the root-level of the SessionHandle struct to the UrlState sub-struct. Also made the engine_list exist for non-ssl builds to make curl build. --- lib/urldata.h | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'lib/urldata.h') diff --git a/lib/urldata.h b/lib/urldata.h index bba17a649..6acc2f7a8 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -777,6 +777,12 @@ struct UrlState { #ifdef USE_ARES ares_channel areschannel; /* for name resolves */ #endif + +#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H) + ENGINE *engine; +#endif /* USE_SSLEAY */ + struct curl_slist *engine_list; /* list of names from ENGINE_get_id() */ + }; @@ -973,10 +979,6 @@ struct SessionHandle { struct UrlState state; /* struct for fields used for state info and other dynamic purposes */ struct PureInfo info; /* stats, reports and info data */ -#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H) - ENGINE *engine; - struct curl_slist *engine_list; /* list of names from ENGINE_get_id() */ -#endif /* USE_SSLEAY */ }; #define LIBCURL_NAME "libcurl" -- cgit v1.2.3