Disable MD2 hash algorithm

Resolves: RHEL-59715
This commit is contained in:
David Schlenk 2024-09-20 15:05:21 -05:00 committed by Simon Pichugin
parent 409b720303
commit 0fc0bd06ce

View File

@ -16,7 +16,7 @@
Name: openldap Name: openldap
Version: 2.6.6 Version: 2.6.6
Release: 3%{?dist} Release: 4%{?dist}
Summary: LDAP support libraries Summary: LDAP support libraries
License: OLDAP-2.8 License: OLDAP-2.8
URL: http://www.openldap.org/ URL: http://www.openldap.org/
@ -196,6 +196,8 @@ popd
%set_build_flags %set_build_flags
# enable experimental support for LDAP over UDP (LDAP_CONNECTIONLESS) # enable experimental support for LDAP over UDP (LDAP_CONNECTIONLESS)
export CFLAGS="${CFLAGS} ${LDFLAGS} -Wl,--as-needed -Wl,-z,now -DLDAP_CONNECTIONLESS" export CFLAGS="${CFLAGS} ${LDFLAGS} -Wl,--as-needed -Wl,-z,now -DLDAP_CONNECTIONLESS"
# disable legacy hash algorithm
export CFLAGS="${CFLAGS} -DOPENSSL_NO_MD2"
pushd openldap-%{version} pushd openldap-%{version}
%configure \ %configure \
@ -548,6 +550,10 @@ exit 0
%{_libdir}/libslapi-2.4*.so.* %{_libdir}/libslapi-2.4*.so.*
%changelog %changelog
* Fri Oct 11 2024 Simon Pichugin <spichugi@redhat.com> - 2.6.6-4
- Disable MD2 hash algorithm
Resolves: RHEL-59715
* Fri Feb 9 2024 Simon Pichugin <spichugi@redhat.com> - 2.6.6-3 * Fri Feb 9 2024 Simon Pichugin <spichugi@redhat.com> - 2.6.6-3
- Use systemd-sysusers for ldap user and group - Use systemd-sysusers for ldap user and group
Replace License with SPDX identifier Replace License with SPDX identifier