IndySockets / Indy

Indy - Internet Direct
https://www.indyproject.org
452 stars 152 forks source link

OpenSSL functions API Deprecated #327

Open Libaud opened 3 years ago

Libaud commented 3 years ago

Hi, Open SSL API (Version 1.1 and more) functions evolve and :

Libaud commented 3 years ago

To complete the issue the stable and LTS Open SSL release is the 1.1.1g until to 2023. And the next future major release is the 3.0.0. Reference is here : https://www.openssl.org/policies/releasestrat.html.

SlMaker commented 3 years ago

Indy has no official support for 1.1.* yet, see #299 So it doesn't make sense to update the official Indy repo code which uses on OpenSSL version which is EOL since almost a year...

Libaud commented 3 years ago

All system's (Windows, OSX, Linux...) was upgraded for security reasons and others !

Upgrade components and others make sens !

rlebeau commented 3 years ago

As SlMaker said, Indy's standard OpenSSL IOHandler does not support OpenSSL 1.1.x, which made major and sweeping API changes that break backwards compatibility. There is a separate pull request, https://github.com/IndySockets/Indy/pull/299, to add 1.1.x support to Indy. It just hasn't been reviewed and merged into the main codebase yet.

mezen commented 3 years ago

@Libaud as @SlMaker and @rlebeau already said there is the PR #299 which fixes all you want. When OpenSSL 3.0.0 is released, I will check for supporting that aswell.

Libaud commented 3 years ago

@mezen I think that you understood the issue. Because for the moment the 1.1.1 is the stable and long term service release for Open SSL. The 3.x is on dev for a long time I think. I've made my test with the last dev snapshot of Indy Components and different release of 1.1x of Open SSL from the official website with a Linux platform. Except to prove me otherwise it doesn't work. I understand that it's not easy to devs to follow evolution of different OS or systems. But Delphi or other would target Linux and it's not new. I understand too that Indy is not necessarily your priority but even for Open Source code quality and stability is very important. If necessary I could help...