Ettercap / ettercap

Ettercap Project
http://www.ettercap-project.org
GNU General Public License v2.0
2.37k stars 494 forks source link

libcurl version error #1241

Closed Jern-Li closed 11 months ago

Jern-Li commented 11 months ago

In /home/Ljern/Desktop/ettercap-0.8.3.1/plug-ins/sslstrip/sslstrip.c, there is

#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26 )
#error libcurl 7.26.0 or up is needed
#endif

But now the newest version of curl is 8.4.0, which definitely satisfies the version requirement. However, it could not pass the if judgement. To solve it, try:

#if (LIBCURL_VERSION_MAJOR < 7) || (LIBCURL_VERSION_MINOR < 26 && LIBCURL_VERSION_MAJOR == 7 )
#error libcurl 7.26.0 or up is needed
#endif
LocutusOfBorg commented 11 months ago

This should be fixed on git