make the ENGINE depend on the USE_SSLEAY define too
authorDaniel Stenberg <daniel@haxx.se>
Wed, 19 Mar 2003 21:28:39 +0000 (21:28 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 19 Mar 2003 21:28:39 +0000 (21:28 +0000)
lib/urldata.h

index f40fdef60414c8006751ec8ddc39da441d8e23e3..89aa50991f00c9e6906c01a5ce6cdbbae8dca6c6 100644 (file)
@@ -778,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 HAVE_OPENSSL_ENGINE_H
+#if defined(USE_SSLEAY) && defined(HAVE_OPENSSL_ENGINE_H)
   ENGINE*  engine;
 #endif /* USE_SSLEAY */
 };