qemu-block
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-block] [PATCH v3] crypto: Implement TLS Pre-Shared Keys (PSK).


From: Richard W.M. Jones
Subject: Re: [Qemu-block] [PATCH v3] crypto: Implement TLS Pre-Shared Keys (PSK).
Date: Thu, 28 Jun 2018 17:51:18 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Jun 28, 2018 at 05:06:20PM +0100, Daniel P. Berrangé wrote:
> On Thu, Jun 28, 2018 at 09:42:18AM -0500, Eric Blake wrote:
> > Does it make sense to forbid this operation on servers (since it only makes
> > sense for clients)?
> 
> We can't validate that here, because we can't guarantee that 'endpoint'
> is set before 'username' is set.
> 
> 
> We could enforce it in the setter for the "loaded" property as that is
> set only after every other property is set.

As far as I can see we could only warn here, since the set_loaded
function returns void.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines.  Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top



reply via email to

[Prev in Thread] Current Thread [Next in Thread]