https://bugs.openldap.org/show_bug.cgi?id=9436
Issue ID: 9436 Summary: OpenSSL 3.0: libldap uses depreciated functions Product: OpenLDAP Version: 2.5 Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: --- Component: libraries Assignee: bugs@openldap.org Reporter: quanah@openldap.org Target Milestone: ---
OpenLDAP master fails to build against OpenSSL 3.0 alpha when "no-deprecated" is specified.
Currently hitting these errors:
./.libs/libldap.so: undefined reference to `SSL_get_peer_certificate' ./.libs/libldap.so: undefined reference to `PEM_read_bio_DHparams' ./.libs/libldap.so: undefined reference to `ERR_get_error_line' ./.libs/libldap.so: undefined reference to `DH_free' ./.libs/libldap.so: undefined reference to `SSL_CTX_set_tmp_dh'
Notes:
SSL_get_peer_certificate is SSL_get1_peer_certificate in 3.0.0
SSL_CTX_set_tmp_dh should be replaced as follows:
# define SSL_CTX_set_tmp_dh(ctx,dh) \ SSL_CTX_ctrl(ctx,SSL_CTRL_SET_TMP_DH,0,(char *)(dh))
Have to dig deeper for:
PEM_read_bio_DHparams ERR_get_error_line DH_free
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |OL_2_5_REQ Target Milestone|--- |2.5.3
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|OL_2_5_REQ |OL_2_6_REQ Target Milestone|2.5.3 |2.6.0
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|OpenSSL 3.0: libldap uses |OpenSSL 3.0: libldap uses |depreciated functions |deprecated functions
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|OL_2_6_REQ |
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.0 |2.7.0
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.7.0 |2.6.1
https://bugs.openldap.org/show_bug.cgi?id=9436
apostnikov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |apostnikov@gmail.com
--- Comment #1 from apostnikov@gmail.com --- Getting the same failures on 2.5.7 for Alpinelinux https://gitlab.alpinelinux.org/alpine/aports/-/merge_requests/24084
https://bugs.openldap.org/show_bug.cgi?id=9436
--- Comment #2 from Quanah Gibson-Mount quanah@openldap.org --- Given that this bug is still open, that's generally to be expected...
https://bugs.openldap.org/show_bug.cgi?id=9436
--- Comment #3 from apostnikov@gmail.com --- Is there ongoing work to make openldap compatible with openssl 3?
https://bugs.openldap.org/show_bug.cgi?id=9436
--- Comment #4 from Quanah Gibson-Mount quanah@openldap.org --- (In reply to apostnikov from comment #3)
Is there ongoing work to make openldap compatible with openssl 3?
None has started yet, it will in the future.
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.6.1 |2.6.2
https://bugs.openldap.org/show_bug.cgi?id=9436
--- Comment #5 from Quanah Gibson-Mount quanah@openldap.org --- Note: Depends on a cyrus-sasl release with OpenSSL 3.0 support
https://bugs.openldap.org/show_bug.cgi?id=9436
Howard Chu hyc@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |IN_PROGRESS Ever confirmed|0 |1
--- Comment #6 from Howard Chu hyc@openldap.org --- Patches for core software in https://git.openldap.org/openldap/openldap/-/merge_requests/489
Patches for contrib, if any are required, are welcome.
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|bugs@openldap.org |hyc@openldap.org
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|IN_PROGRESS |RESOLVED Resolution|--- |FIXED
--- Comment #7 from Quanah Gibson-Mount quanah@openldap.org --- head:
commit 868c7953d74aa91be9aa3acef0ced6ab76df7ab1 Author: Howard Chu hyc@openldap.org Date: Wed Feb 2 18:38:37 2022 +0000
ITS#9436 OpenSSL 3.0 compat
commit e62d05d26c73bf93f21e0106ac34972b274d550d Author: Howard Chu hyc@openldap.org Date: Wed Feb 2 18:11:27 2022 +0000
ITS#9436 libldap: OpenSSL 3.0 compat
RE26:
commit feeffb8203a601cd0af207c4ff4be4a0d07bbc6d Author: Howard Chu hyc@openldap.org Date: Wed Feb 2 18:38:37 2022 +0000
ITS#9436 OpenSSL 3.0 compat
commit a629bf5cd5655d41b6fbde5699de64b9d704e0b3 Author: Howard Chu hyc@openldap.org Date: Wed Feb 2 18:11:27 2022 +0000
ITS#9436 libldap: OpenSSL 3.0 compat
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |VERIFIED
https://bugs.openldap.org/show_bug.cgi?id=9436
Quanah Gibson-Mount quanah@openldap.org changed:
What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://bugs.openldap.org/s | |how_bug.cgi?id=10030
https://bugs.openldap.org/show_bug.cgi?id=9436
--- Comment #8 from Quanah Gibson-Mount quanah@openldap.org --- RE25:
• 7fba0f7e by Howard Chu at 2023-04-27T15:34:48+00:00 ITS#9436,ITS#10030 libldap: OpenSSL 3.0 compat