-
Notifications
You must be signed in to change notification settings - Fork 481
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix OpenSSL 1.1 support #1997
Fix OpenSSL 1.1 support #1997
Conversation
success |
This pull request reorganizes a few lines of OpenSSL compatibility code. I'm pretty sure it's correct, but I've only tested it with OpenSSL 1.1.0h and 1.0.2o (the supported versions). @czanik Do you have platforms where older/unsupported OpenSSL versions are used by default? If so, can you compile my branch please? |
RPM distros seem to have either a supported version of openssl 1.1 or are still on openssl 1.0 (RHEL / CentOS, SLES 12 / Leap 42) FreeBSD uses openssl 1.0 by default. 1.1 is available in the openssl-devel port, version 1.1g Fedora 27:
opensuse Leap 15 beta:
|
@czanik Thanks. I was interested in OpenSSL versions < 1.0.2 (for example, 0.9.8, 1.0.0 and 1.0.1). They are unsupported versions, so they shouldn't be used, but I wanted to make sure. |
We can EoL SLES 11 support in OSE, but RHEL 6 is still one of our most important platform after RHEL 7. It is supported for yet another few years and is the base for AWS Linux. |
@czanik Thank you for the quick answer! :) My change should work fine with older OpenSSL versions as well. |
success |
Patched git sources and generated a release tarball using dbld. Tested compile on SLES 11 SP4, and it failed:
|
@czanik Oops, that's unpleasant. I've fixed this. Thank you very much for your help. |
Signed-off-by: László Várady <laszlo.varady@balabit.com>
Signed-off-by: László Várady <laszlo.varady@balabit.com>
Signed-off-by: László Várady <laszlo.varady@balabit.com>
Building OpenSSL without support for deprecated APIs (--api=1.1.0) revealed additional API changes. Signed-off-by: László Várady <laszlo.varady@balabit.com>
success |
success |
It compiles on CentOS 6.9 (OpenSSL 1.0.1e). |
ok, then I push the merge button |
Building OpenSSL without support for deprecated APIs revealed additional API changes.
Fixes #1921
Reproduction:
TODO: