diff options
| author | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-16 17:36:55 +0200 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-06-25 10:53:46 +0200 |
| commit | 4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b (patch) | |
| tree | 54c2aaed1e8799d94d00b5de06cdc5660b732a94 /tests/unit/crypto-tls-psk-helpers.c | |
| parent | 72150df2c5654870d5468bc4477783497b910816 (diff) | |
| download | focaccia-qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.tar.gz focaccia-qemu-4c1f23cfb84c386a8f4f5433f0fd98e0c85d057b.zip | |
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/crypto-tls-psk-helpers.c')
| -rw-r--r-- | tests/unit/crypto-tls-psk-helpers.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/unit/crypto-tls-psk-helpers.c b/tests/unit/crypto-tls-psk-helpers.c index a8395477c3..7f8a488961 100644 --- a/tests/unit/crypto-tls-psk-helpers.c +++ b/tests/unit/crypto-tls-psk-helpers.c @@ -20,14 +20,10 @@ #include "qemu/osdep.h" -/* Include this first because it defines QCRYPTO_HAVE_TLS_TEST_SUPPORT */ #include "crypto-tls-x509-helpers.h" - #include "crypto-tls-psk-helpers.h" #include "qemu/sockets.h" -#ifdef QCRYPTO_HAVE_TLS_TEST_SUPPORT - void test_tls_psk_init(const char *pskfile) { FILE *fp; @@ -46,5 +42,3 @@ void test_tls_psk_cleanup(const char *pskfile) { unlink(pskfile); } - -#endif /* QCRYPTO_HAVE_TLS_TEST_SUPPORT */ |