diff options
author | Peter Xu <peterx@redhat.com> | 2018-03-05 14:43:24 +0800 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2018-03-06 10:19:07 +0000 |
commit | 1939ccdaa61ce6a1f57d83277b3d41d3a9ad3c58 (patch) | |
tree | c3b4811e045492e3d058f11c88b07589a8f19bca /tests | |
parent | 8005fdd8fa1c754492776f6da14893932faa057a (diff) |
qio: non-default context for TLS handshake
A new parameter "context" is added to qio_channel_tls_handshake() is to
allow the TLS to be run on a non-default context. Still, no functional
change.
Signed-off-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-io-channel-tls.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-io-channel-tls.c b/tests/test-io-channel-tls.c index a210d01ba5..32743b2c96 100644 --- a/tests/test-io-channel-tls.c +++ b/tests/test-io-channel-tls.c @@ -203,10 +203,12 @@ static void test_io_channel_tls(const void *opaque) qio_channel_tls_handshake(clientChanTLS, test_tls_handshake_done, &clientHandshake, + NULL, NULL); qio_channel_tls_handshake(serverChanTLS, test_tls_handshake_done, &serverHandshake, + NULL, NULL); /* |