mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 17:53:56 -06:00
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
This commit is contained in:
parent
58d25e97f3
commit
d47b83b118
3 changed files with 397 additions and 14 deletions
|
@ -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 = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue