diff options
| author | Gonglei | 2016-09-24 02:36:19 +0200 |
|---|---|---|
| committer | Daniel P. Berrange | 2016-10-19 11:09:24 +0200 |
| commit | 48b95ea4f0933c13d778c0478cb82bbfdd515981 (patch) | |
| tree | 0ecf8f3f47f25bfb6c15d3a2400eda8972e25734 /tests | |
| parent | crypto: add mode check in qcrypto_cipher_new() for cipher-builtin (diff) | |
| download | qemu-48b95ea4f0933c13d778c0478cb82bbfdd515981.tar.gz qemu-48b95ea4f0933c13d778c0478cb82bbfdd515981.tar.xz qemu-48b95ea4f0933c13d778c0478cb82bbfdd515981.zip | |
qtest: fix make check complaint in crypto module
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 directory
tests/pkix_asn1_tab.c:9: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘pkix_asn1_tab’
make: *** [tests/pkix_asn1_tab.o] Error 1
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/pkix_asn1_tab.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/pkix_asn1_tab.c b/tests/pkix_asn1_tab.c index 903bc02518..f15fc515cb 100644 --- a/tests/pkix_asn1_tab.c +++ b/tests/pkix_asn1_tab.c @@ -4,7 +4,9 @@ */ #include "qemu/osdep.h" -#include <libtasn1.h> +#include "tests/crypto-tls-x509-helpers.h" + +#ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT const ASN1_ARRAY_TYPE pkix_asn1_tab[] = { {"PKIX1", 536875024, 0}, @@ -1103,3 +1105,4 @@ const ASN1_ARRAY_TYPE pkix_asn1_tab[] = { {0, 1048586, "2"}, {0, 0, 0} }; +#endif /* QCRYPTO_HAVE_TLS_TEST_SUPPORT */ |
