[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH PULL v3 08/11] crypto: add sanity checking of TL
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH PULL v3 08/11] crypto: add sanity checking of TLS x509 credentials |
Date: |
Mon, 21 Sep 2015 17:38:00 +0100 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
On Mon, Sep 21, 2015 at 09:48:15AM +0100, Daniel P. Berrange wrote:
> On Sat, Sep 19, 2015 at 09:47:01PM -0700, Peter Crosthwaite wrote:
> > > diff --git a/configure b/configure
> > > index d7c24cd..bdd302c 100755
> > > --- a/configure
> > > +++ b/configure
> > > @@ -416,6 +416,9 @@ if test "$debug_info" = "yes"; then
> > > LDFLAGS="-g $LDFLAGS"
> > > fi
> > >
> > > +test_cflags=""
> > > +test_libs=""
> > > +
> > > # make source path absolute
> > > source_path=`cd "$source_path"; pwd`
> > >
> > > @@ -2249,6 +2252,19 @@ if test "$gnutls_nettle" != "no"; then
> > > fi
> > > fi
> > >
> > > +##########################################
> > > +# libtasn1 - only for the TLS creds/session test suite
> > > +
> > > +tasn1=yes
> > > +if $pkg_config --exists "libtasn1"; then
> > > + tasn1_cflags=`$pkg_config --cflags libtasn1`
> > > + tasn1_libs=`$pkg_config --libs libtasn1`
> > > + test_cflags="$test_cflags $tasn1_cflags"
> > > + test_libs="$test_libs $tasn1_libs"
> > > +else
> > > + tasn1=no
> > > +fi
> > > +
> > >
> > > ##########################################
> > > # VTE probe
> > > @@ -4574,6 +4590,7 @@ echo "GNUTLS support $gnutls"
> > > echo "GNUTLS hash $gnutls_hash"
> > > echo "GNUTLS gcrypt $gnutls_gcrypt"
> > > echo "GNUTLS nettle $gnutls_nettle
> > > ${gnutls_nettle+($nettle_version)}"
> > > +echo "libtasn1 $tasn1"
> > > echo "VTE support $vte"
> > > echo "curses support $curses"
> > > echo "curl support $curl"
> > > @@ -4945,6 +4962,9 @@ if test "$gnutls_nettle" = "yes" ; then
> > > echo "CONFIG_GNUTLS_NETTLE=y" >> $config_host_mak
> > > echo "CONFIG_NETTLE_VERSION_MAJOR=${nettle_version%%.*}" >>
> > > $config_host_mak
> > > fi
> > > +if test "$tasn1" = "yes" ; then
> > > + echo "CONFIG_TASN1=y" >> $config_host_mak
> > > +fi
> > > if test "$vte" = "yes" ; then
> > > echo "CONFIG_VTE=y" >> $config_host_mak
> > > echo "VTE_CFLAGS=$vte_cflags" >> $config_host_mak
> > > @@ -5268,6 +5288,8 @@ echo "EXESUF=$EXESUF" >> $config_host_mak
> > > echo "DSOSUF=$DSOSUF" >> $config_host_mak
> > > echo "LDFLAGS_SHARED=$LDFLAGS_SHARED" >> $config_host_mak
> > > echo "LIBS_QGA+=$libs_qga" >> $config_host_mak
> > > +echo "TEST_LIBS=$test_libs" >> $config_host_mak
> > > +echo "TEST_CFLAGS=$test_cflags" >> $config_host_mak
> >
> > I am not too sure exactly why yet, but this breaks the build for me
> > when using pixman submodule with --enable-werror configure:
>
> [snip]
>
> I have pixman pre-installed so didn't notice this. I'll investigate
> and report back...
I could not reproduce this, but I came up with a plausible explanation
for why this could happen. I've CC'd you on a patch which I hope will
fix it for you, so appreciate if you can report back on that.
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 :|
- [Qemu-devel] [PATCH PULL v3 04/11] qom: allow QOM to be linked into tools binaries, (continued)
- [Qemu-devel] [PATCH PULL v3 04/11] qom: allow QOM to be linked into tools binaries, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 07/11] crypto: introduce new module for TLS x509 credentials, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 05/11] crypto: introduce new base module for TLS credentials, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 01/11] qapi: allow override of default enum prefix naming, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 10/11] ui: fix return type for VNC I/O functions to be ssize_t, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 11/11] ui: convert VNC server to use QCryptoTLSSession, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 09/11] crypto: introduce new module for handling TLS sessions, Daniel P. Berrange, 2015/09/15
- [Qemu-devel] [PATCH PULL v3 08/11] crypto: add sanity checking of TLS x509 credentials, Daniel P. Berrange, 2015/09/15
- Re: [Qemu-devel] [PATCH PULL v3 00/11] Extract TLS handling code from VNC server, Peter Maydell, 2015/09/15