diff options
author | Daniel Stenberg <daniel@haxx.se> | 2003-03-15 16:51:43 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2003-03-15 16:51:43 +0000 |
commit | bb6d0e37e368efffcc0b4c2d715ec29ff5e89e3d (patch) | |
tree | 6b432e47502e6012065556c3a4849f99fb83f0f6 /lib | |
parent | 24a6100897343aee246680a517b04b6c11f792df (diff) |
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...
Diffstat (limited to 'lib')
-rw-r--r-- | lib/urldata.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/urldata.h b/lib/urldata.h index 2b924ae17..f40fdef60 100644 --- a/lib/urldata.h +++ b/lib/urldata.h @@ -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 */ }; |