diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-04-26 17:00:43 +0100 |
---|---|---|
committer | Dr. David Alan Gilbert <dgilbert@redhat.com> | 2022-05-16 11:46:04 +0100 |
commit | d47b83b118eed26e10ff4693fb1f0a433a38d0a0 (patch) | |
tree | 732a242587b2f04c896e6bc46becfe415872d428 /tests/qtest/meson.build | |
parent | 58d25e97f38214c04d5ba55950cc6d9fff574236 (diff) |
tests: add migration tests of TLS with x509 credentials
This validates that we correctly handle migration success and failure
scenarios when using TLS with x509 certificates. There are quite a few
different scenarios that matter in relation to hostname validation.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220426160048.812266-5-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
dgilbert: Manual merge due to ifdef change in 3
Diffstat (limited to 'tests/qtest/meson.build')
-rw-r--r-- | tests/qtest/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/qtest/meson.build b/tests/qtest/meson.build index 166450135d..b425484920 100644 --- a/tests/qtest/meson.build +++ b/tests/qtest/meson.build @@ -276,6 +276,11 @@ tpmemu_files = ['tpm-emu.c', 'tpm-util.c', 'tpm-tests.c'] migration_files = [files('migration-helpers.c')] if gnutls.found() migration_files += [files('../unit/crypto-tls-psk-helpers.c'), gnutls] + + if tasn1.found() + migration_files += [files('../unit/crypto-tls-x509-helpers.c', + '../unit/pkix_asn1_tab.c'), tasn1] + endif endif qtests = { |