nbd: Add TLS client support
commit81762f81aaa34650685475495d04939b7bae064c
authorEric Blake <eblake@redhat.com>
Tue, 11 Jun 2019 15:22:33 +0000 (11 10:22 -0500)
committerEric Blake <eblake@redhat.com>
Thu, 13 Jun 2019 12:11:08 +0000 (13 07:11 -0500)
tree45cd96380a26a86d9dead0a6b0f33320eab21c09
parent5a2573840f0f47671a6ba88d0614859efd7328e2
nbd: Add TLS client support

Well, really add parameters to pass on to libnbd which does all the
heavy lifting :)

This also adds testsuite coverage that we support TLS over Unix sockets.

Signed-off-by: Eric Blake <eblake@redhat.com>
TODO
plugins/nbd/nbd.c
plugins/nbd/nbdkit-nbd-plugin.pod
tests/Makefile.am
tests/test-nbd-tls-psk.sh [copied from tests/test-tls-psk.sh with 64% similarity]
tests/test-nbd-tls.sh [copied from tests/test-tls.sh with 69% similarity]
tests/test-tls-psk.sh
tests/test-tls.sh