diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-02-10 18:41:11 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-02-16 17:16:28 +0100 |
commit | f95910fe6bbf64bb9b5cea7546a1778ba96ce782 (patch) | |
tree | ca32a89428ee209e5de8c7da9f7c52139a91ef6b /blockdev-nbd.c | |
parent | 69b49502d8b7b582af79fac5bef7b7ccc2dc9c1e (diff) |
nbd: implement TLS support in the protocol negotiation
This extends the NBD protocol handling code so that it is capable
of negotiating TLS support during the connection setup. This involves
requesting the STARTTLS protocol option before any other NBD options.
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Message-Id: <1455129674-17255-14-git-send-email-berrange@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'blockdev-nbd.c')
-rw-r--r-- | blockdev-nbd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/blockdev-nbd.c b/blockdev-nbd.c index 2148753fff..f181840e2a 100644 --- a/blockdev-nbd.c +++ b/blockdev-nbd.c @@ -34,7 +34,7 @@ static gboolean nbd_accept(QIOChannel *ioc, GIOCondition condition, return TRUE; } - nbd_client_new(NULL, cioc, nbd_client_put); + nbd_client_new(NULL, cioc, NULL, NULL, nbd_client_put); object_unref(OBJECT(cioc)); return TRUE; } |