aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/pkix_asn1_tab.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-06-16 17:36:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-25 10:53:46 +0200
commit4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b (patch)
tree54c2aaed1e8799d94d00b5de06cdc5660b732a94 /tests/unit/pkix_asn1_tab.c
parent72150df2c5654870d5468bc4477783497b910816 (diff)
downloadqemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.zip
qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.tar.gz
qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.tar.bz2
tests: remove QCRYPTO_HAVE_TLS_TEST_SUPPORT
meson.build already decides whether it is possible to build the TLS test suite. There is no need to include that in the source as well. The dummy tests in fact are broken because they do not produce valid TAP output (empty output is rejected by scripts/tap-driver.pl). Cc: Daniel P. Berrangé <berrange@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests/unit/pkix_asn1_tab.c')
-rw-r--r--tests/unit/pkix_asn1_tab.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/unit/pkix_asn1_tab.c b/tests/unit/pkix_asn1_tab.c
index 15397cf..8952140 100644
--- a/tests/unit/pkix_asn1_tab.c
+++ b/tests/unit/pkix_asn1_tab.c
@@ -6,8 +6,6 @@
#include "qemu/osdep.h"
#include "crypto-tls-x509-helpers.h"
-#ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT
-
const asn1_static_node pkix_asn1_tab[] = {
{"PKIX1", 536875024, 0},
{0, 1073741836, 0},
@@ -1105,4 +1103,3 @@ const asn1_static_node pkix_asn1_tab[] = {
{0, 1048586, "2"},
{0, 0, 0}
};
-#endif /* QCRYPTO_HAVE_TLS_TEST_SUPPORT */