Blame SOURCES/Add-buildsystem-detection-of-the-OpenSSL-3-KDF-inter.patch

cb4cef
From 2f039fc910022c9569fe6941a194f0b26bd6c894 Mon Sep 17 00:00:00 2001
cb4cef
From: Robbie Harwood <rharwood@redhat.com>
cb4cef
Date: Fri, 20 Sep 2019 16:11:29 -0400
cb4cef
Subject: [PATCH] Add buildsystem detection of the OpenSSL-3 KDF interface
cb4cef
cb4cef
(cherry picked from commit a3e03dfd40928c4615bd9b8546eac0c104377850)
cb4cef
---
cb4cef
 src/configure.ac | 4 ++++
cb4cef
 1 file changed, 4 insertions(+)
cb4cef
cb4cef
diff --git a/src/configure.ac b/src/configure.ac
cb4cef
index eb6307468..9c2e816fe 100644
cb4cef
--- a/src/configure.ac
cb4cef
+++ b/src/configure.ac
cb4cef
@@ -282,6 +282,10 @@ AC_SUBST(CRYPTO_IMPL)
cb4cef
 AC_SUBST(CRYPTO_IMPL_CFLAGS)
cb4cef
 AC_SUBST(CRYPTO_IMPL_LIBS)
cb4cef
 
cb4cef
+if test "$CRYPTO_IMPL" = openssl; then
cb4cef
+   AC_CHECK_FUNCS(EVP_KDF_fetch)
cb4cef
+fi
cb4cef
+
cb4cef
 AC_ARG_WITH([prng-alg],
cb4cef
 AC_HELP_STRING([--with-prng-alg=ALG], [use specified PRNG algorithm. @<:@fortuna@:>@]),
cb4cef
 [PRNG_ALG=$withval