Disable MD2 hash algorithm

Resolves: RHEL-61830
This commit is contained in:
David Schlenk 2024-09-20 15:05:21 -05:00 committed by Simon Pichugin
parent 5b9f14b99c
commit 9ebfbb8a7c

View File

@ -17,7 +17,7 @@
Name: openldap
Version: 2.6.7
Release: 5%{?dist}
Release: 6%{?dist}
Summary: LDAP support libraries
License: OLDAP-2.8
URL: http://www.openldap.org/
@ -209,6 +209,8 @@ popd
%set_build_flags
# enable experimental support for LDAP over UDP (LDAP_CONNECTIONLESS)
export CFLAGS="${CFLAGS} ${LDFLAGS} -Wl,--as-needed -DLDAP_CONNECTIONLESS"
# disable legacy hash algorithm
export CFLAGS="${CFLAGS} -DOPENSSL_NO_MD2"
pushd openldap-%{version}
%configure \
@ -564,6 +566,10 @@ exit 0
%endif
%changelog
* Fri Oct 11 2024 Simon Pichugin <spichugi@redhat.com> - 2.6.7-6
- Disable MD2 hash algorithm
Resolves: RHEL-61830
* Thu Aug 15 2024 Simon Pichugin <spichugi@redhat.com> - 2.6.7-5
- Fix vlvResult patch (RHEL-36474)
- Fix libslapi definition and a comment typo