summary refs log tree commit diff stats
path: root/tests/unit/crypto-tls-psk-helpers.h
diff options
context:
space:
mode:
authorDaniel P. Berrangé <berrange@redhat.com>2022-04-26 17:00:42 +0100
committerDr. David Alan Gilbert <dgilbert@redhat.com>2022-05-16 11:46:04 +0100
commit58d25e97f38214c04d5ba55950cc6d9fff574236 (patch)
tree7873265ce9dee419250df085cd7fd58dba209a12 /tests/unit/crypto-tls-psk-helpers.h
parent5bc6364bfb496623cc7f856bdb0358ffbe3c18d2 (diff)
downloadfocaccia-qemu-58d25e97f38214c04d5ba55950cc6d9fff574236.tar.gz
focaccia-qemu-58d25e97f38214c04d5ba55950cc6d9fff574236.zip
tests: add migration tests of TLS with PSK credentials
This validates that we correctly handle migration success and failure
scenarios when using TLS with pre shared keys.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Message-Id: <20220426160048.812266-4-berrange@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'tests/unit/crypto-tls-psk-helpers.h')
-rw-r--r--tests/unit/crypto-tls-psk-helpers.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/unit/crypto-tls-psk-helpers.h b/tests/unit/crypto-tls-psk-helpers.h
index faa645c629..67f8bdda71 100644
--- a/tests/unit/crypto-tls-psk-helpers.h
+++ b/tests/unit/crypto-tls-psk-helpers.h
@@ -24,6 +24,7 @@
 #include <gnutls/gnutls.h>
 
 void test_tls_psk_init(const char *keyfile);
+void test_tls_psk_init_alt(const char *keyfile);
 void test_tls_psk_cleanup(const char *keyfile);
 
 #endif