From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bxDex-0006cX-Lr for qemu-devel@nongnu.org; Thu, 20 Oct 2016 09:45:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bxDet-00042U-R3 for qemu-devel@nongnu.org; Thu, 20 Oct 2016 09:45:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60122) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1bxDet-00042E-LW for qemu-devel@nongnu.org; Thu, 20 Oct 2016 09:45:23 -0400 From: "Daniel P. Berrange" Date: Thu, 20 Oct 2016 14:45:08 +0100 Message-Id: <1476971110-10403-5-git-send-email-berrange@redhat.com> In-Reply-To: <1476971110-10403-1-git-send-email-berrange@redhat.com> References: <1476971110-10403-1-git-send-email-berrange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL v1 4/6] qtest: fix make check complaint in crypto module List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Peter Maydell , Gonglei , "Daniel P . Berrange" From: Gonglei CC tests/test-crypto-tlscredsx509.o CC tests/crypto-tls-x509-helpers.o CC tests/pkix_asn1_tab.o tests/pkix_asn1_tab.c:7:22: warning: libtasn1.h: No such file or director= y tests/pkix_asn1_tab.c:9: error: expected =E2=80=98=3D=E2=80=99, =E2=80=98= ,=E2=80=99, =E2=80=98;=E2=80=99, =E2=80=98asm=E2=80=99 or =E2=80=98__attr= ibute__=E2=80=99 before =E2=80=98pkix_asn1_tab=E2=80=99 make: *** [tests/pkix_asn1_tab.o] Error 1 Signed-off-by: Gonglei Signed-off-by: Daniel P. Berrange --- tests/pkix_asn1_tab.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/pkix_asn1_tab.c b/tests/pkix_asn1_tab.c index 903bc02..f15fc51 100644 --- a/tests/pkix_asn1_tab.c +++ b/tests/pkix_asn1_tab.c @@ -4,7 +4,9 @@ */ =20 #include "qemu/osdep.h" -#include +#include "tests/crypto-tls-x509-helpers.h" + +#ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT =20 const ASN1_ARRAY_TYPE pkix_asn1_tab[] =3D { {"PKIX1", 536875024, 0}, @@ -1103,3 +1105,4 @@ const ASN1_ARRAY_TYPE pkix_asn1_tab[] =3D { {0, 1048586, "2"}, {0, 0, 0} }; +#endif /* QCRYPTO_HAVE_TLS_TEST_SUPPORT */ --=20 2.7.4