]> git.proxmox.com Git - mirror_qemu.git/commit - tests/Makefile.include
io: add QIOChannelTLS class
authorDaniel P. Berrange <berrange@redhat.com>
Mon, 2 Mar 2015 18:13:13 +0000 (18:13 +0000)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 18 Dec 2015 12:18:31 +0000 (12:18 +0000)
commited8ee42c4063809495d9eed738a26957b6dfe692
tree4332e40f84a3272e2fe8d424354f11c890f9b0c0
parentd6e48869a41b61bb2f4eb0a787c08225630feb9e
io: add QIOChannelTLS class

Add a QIOChannel subclass that can run the TLS protocol over
the top of another QIOChannel instance. The object provides a
simplified API to perform the handshake when starting the TLS
session. The layering of TLS over the underlying channel does
not have to be setup immediately. It is possible to take an
existing QIOChannel that has done some handshake and then swap
in the QIOChannelTLS layer. This allows for use with protocols
which start TLS right away, and those which start plain text
and then negotiate TLS.

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
include/io/channel-tls.h [new file with mode: 0644]
io/Makefile.objs
io/channel-tls.c [new file with mode: 0644]
tests/.gitignore
tests/Makefile
tests/test-io-channel-tls.c [new file with mode: 0644]
trace-events