File otp_src_22.3.4.19-lib-crypto-configure.patch of Package erlang
diff -Ndurp otp_src_22.3.4.19/lib/crypto/configure otp_src_22.3.4.19-lib-crypto-configure/lib/crypto/configure
--- otp_src_22.3.4.19/lib/crypto/configure 2021-05-20 21:47:53.000000000 +0300
+++ otp_src_22.3.4.19-lib-crypto-configure/lib/crypto/configure 2021-05-21 03:50:40.733069347 +0300
@@ -621,6 +621,7 @@ ac_includes_default="\
ac_subst_vars='LTLIBOBJS
LIBOBJS
+DISABLE_EVP_HMAC
DISABLE_EVP_DH
STATIC_ZLIB_LIBS
SSL_LINK_WITH_ZLIB
@@ -5101,6 +5102,18 @@ else
fi
+
+# Check whether --enable-evp-hmac was given.
+if test "${enable_evp_hmac+set}" = set; then :
+ enableval=$enable_evp_hmac; case "$enableval" in
+ no) DISABLE_EVP_HMAC=1;;
+ *) DISABLE_EVP_HMAC=0;;
+ esac
+else
+ DISABLE_EVP_HMAC=0
+fi
+
+
#----------------------------------------------------------------------
# We actually might do the SSL tests twice due to late discovery of