From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:33010) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anjkL-0002KU-Ri for qemu-devel@nongnu.org; Wed, 06 Apr 2016 05:27:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1anjkI-0006Bn-Km for qemu-devel@nongnu.org; Wed, 06 Apr 2016 05:27:33 -0400 Received: from mx1.redhat.com ([209.132.183.28]:51272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1anjkI-0006Bi-G7 for qemu-devel@nongnu.org; Wed, 06 Apr 2016 05:27:30 -0400 Date: Wed, 6 Apr 2016 10:27:26 +0100 From: "Daniel P. Berrange" Message-ID: <20160406092726.GD23124@redhat.com> References: <20160406090907.GB23124@redhat.com> <20160406091153.GC23124@redhat.com> <4E8A67C7-A7C6-4F33-8CC3-FE1DCD2A0A31@alex.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4E8A67C7-A7C6-4F33-8CC3-FE1DCD2A0A31@alex.org.uk> Subject: Re: [Qemu-devel] Error when attempting to perform TLS NBD connection Reply-To: "Daniel P. Berrange" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Bligh Cc: "qemu-devel@nongnu.org" On Wed, Apr 06, 2016 at 10:22:45AM +0100, Alex Bligh wrote: > > On 6 Apr 2016, at 10:11, Daniel P. Berrange wrote: > > > Oh I'd be interested to know if the unit tests pass for you - can you > > run this > > > > make ./tests/test-crypto-tlssession ./tests/test-crypto-tlscredsx509 > > ./tests/test-crypto-tlscredsx509 > > ./tests/test-crypto-tlssession > > See below. They pass. > > I suppose the only other slightly non-standard thing I'm doing is > running qemu-img as "./qemu-img" without installing it, as I already > have Ubuntu's default qemu package installed. This used to work fine > and it doesn't seem to linked to any 'old qemu' libraries (and besides > 'old qemu' had no TLS code). I've put the output of ldd -v below > as well just in case. Running without installing certainly works fine - that's how I test stuff on a daily basis. Also there should be no fundamental reason why this cannot work on gnutls 2.x - the original code I derived everything from work with 2.x and even 1.x. So just need to chase down the bug... Regards, Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|