attest-tools/attest-tools-support-openssl-3.0.patch
2023-02-10 13:45:20 +08:00

27 lines
832 B
Diff

From 63001de4b2b56d2a94c2e806f03ade285c4c9533 Mon Sep 17 00:00:00 2001
From: Huaxin Lu <luhuaxin1@huawei.com>
Date: Fri, 10 Feb 2023 13:41:25 +0800
Subject: [PATCH] attest tools support openssl 3.0
Signed-off-by: Huaxin Lu <luhuaxin1@huawei.com>
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 9b2e89c..ab774c4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,7 +58,7 @@ AC_CHECK_LIB([digestlist-base], [new_key_pgp],[digestlists_pgp=true],[],[])
AM_CONDITIONAL([DIGESTLISTS], [test x$digestlists = xtrue])
AM_CONDITIONAL([DIGESTLISTS_PGP], [test x$digestlists_pgp = xtrue])
-CFLAGS="$CFLAGS -Wall -Werror -DTPM_POSIX"
+CFLAGS="$CFLAGS -Wall -Werror -DTPM_POSIX -Wno-deprecated-declarations -Wno-discarded-qualifiers"
AC_SUBST(CFLAGS)
--
2.33.0