freelan-developers / freelan

The main freelan repository.
http://www.freelan.org
Other
1.35k stars 201 forks source link

Fails to build with OpenSSL 3.0 due to `ERR_GET_FUNC` #242

Open havardAasen opened 3 years ago

havardAasen commented 3 years ago

OpenSSL has removed ERR_GET_FUNC since version 3.0 https://github.com/openssl/openssl/commit/561e5cda7b7139c665dd9d2f39058b4081da54d2

https://github.com/freelan-developers/freelan/blob/779a1421adbbfa35568cea9b212d1ba0635570e1/libs/cryptoplus/include/cryptoplus/error/error.hpp#L243

Fabxx commented 2 years ago

The program becomes useless unless you downgrade OpenSSL, which is not recommended in any way, either update this tool or archive this repository and report it as not usable.

TJ-59 commented 1 year ago

@havardAasen @Fabxx FreeLAN seems to uses openSSL "V1". It's not outdated, as both the "V1" and "V3" are getting updates at the same time. Looks like V3 is more "human friendly", while V1 has less interfaces and more direct control over what it does, so "better for programs and automated systems". Pick the 1.1.1u for example (updated a few weeks ago), it has all the required components in it (like TLS etc) and it will compile and work just fine. I repeat, and put emphasize on : OPENSSL HAS 2 VERSIONS, BOTH ARE UPDATED AND SECURE TO DATE, FREELAN NEEDS THE "V1".

If you need some pointers for compiling your own and you understand french, have a look at my github, I've got a guide for compiling a fully portable updated and fixed version of FreeLAN for Windows. Might get an English translation whenever I got time.