aboutsummaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2018-06-08 16:36:47 +0200
committerDaniel Stenberg <daniel@haxx.se>2018-06-11 10:20:18 +0200
commit38203f1585da53e07e54e37c7d5da4d72f509a2e (patch)
treece206e4bb0b26c4155a864be32f82397a1d2eab5 /lib/urldata.h
parent100318c7fd934fa260f790d03808860c9b6cec68 (diff)
openssl: assume engine support in 1.0.1 or later
Previously it was checked for in configure/cmake, but that would then leave other build systems built without engine support. While engine support probably existed prior to 1.0.1, I decided to play safe. If someone experience a problem with this, we can widen the version check. Fixes #2641 Closes #2644
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 86295b681..51970b7ac 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1267,7 +1267,7 @@ struct UrlState {
void *resolver; /* resolver state, if it is used in the URL state -
ares_channel f.e. */
-#if defined(USE_OPENSSL) && defined(HAVE_OPENSSL_ENGINE_H)
+#if defined(USE_OPENSSL)
/* void instead of ENGINE to avoid bleeding OpenSSL into this header */
void *engine;
#endif /* USE_OPENSSL */