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

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