Skip to content
Snippets Groups Projects
Commit bb6d0e37 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

Sort out the ENGINE problems people seem to be having. Now we put all ENGINE

related stuff within HAVE_OPENSSL_ENGINE_H and we don't make any private
typedef or similar if the header is missing...
parent 24a61008
No related branches found
No related tags found
No related merge requests found
......@@ -114,9 +114,6 @@ enum protection_level {
};
#endif
#ifndef HAVE_OPENSSL_ENGINE_H
typedef void ENGINE;
#endif
/* struct for data related to SSL and SSL connections */
struct ssl_connect_data {
bool use; /* use ssl encrypted communications TRUE/FALSE */
......@@ -781,7 +778,7 @@ struct SessionHandle {
struct UrlState state; /* struct for fields used for state info and
other dynamic purposes */
struct PureInfo info; /* stats, reports and info data */
#ifdef USE_SSLEAY
#ifdef HAVE_OPENSSL_ENGINE_H
ENGINE* engine;
#endif /* USE_SSLEAY */
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment