diff --git a/SPECS/openldap.spec b/SPECS/openldap.spec
index af1ba5d..126009c 100644
--- a/SPECS/openldap.spec
+++ b/SPECS/openldap.spec
@@ -5,7 +5,7 @@
 
 Name: openldap
 Version: 2.4.46
-Release: 16%{?dist}
+Release: 17%{?dist}
 Summary: LDAP support libraries
 License: OpenLDAP
 URL: http://www.openldap.org/
@@ -179,7 +179,7 @@ popd
 
 %set_build_flags
 # enable experimental support for LDAP over UDP (LDAP_CONNECTIONLESS)
-export CFLAGS="${CFLAGS} ${LDFLAGS} -Wl,--as-needed -DLDAP_CONNECTIONLESS -DLDAP_USE_NON_BLOCKING_TLS"
+export CFLAGS="${CFLAGS} ${LDFLAGS} -Wl,--as-needed -DLDAP_CONNECTIONLESS -DLDAP_USE_NON_BLOCKING_TLS -DOPENSSL_NO_MD2"
 
 pushd openldap-%{version}
 %configure \
@@ -520,6 +520,9 @@ exit 0
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jun 16 2021 Simon Pichugin <spichugi@redhat.com> - 2.4.46-17
+- Rebuild without MP_2 support (#1972742)
+
 * Thu Sep 10 2020 Simon Pichugin <spichugi@redhat.com> - 2.4.46-16
 - CLDAP ldap_result hangs if nobody listens on the port (#1875361)