[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [libvirt] [PATCH] Fix import of private key with older gnutls
- From: Daniel Veillard <veillard redhat com>
- To: "Daniel P. Berrange" <berrange redhat com>
- Cc: libvir-list redhat com
- Subject: Re: [libvirt] [PATCH] Fix import of private key with older gnutls
- Date: Tue, 26 Jul 2011 18:14:27 +0800
On Mon, Jul 25, 2011 at 06:18:42PM +0100, Daniel P. Berrange wrote:
> With older GNUTLS the gnutls_x509_privkey_import function is
> unable to import our private key. Instead we must use the
> alternative gnutls_x509_privkey_import_pkcs8() (as certtool
> does).
>
> * virnettlscontexttest.c: Fix import of private key with
> older gnutls. Also add missing newlines to key
I just got in trouble with an older gnutls trying to build on
RHEL-5 too:
../src/.libs/libvirt-net-rpc.a(libvirt_net_rpc_la-virnettlscontext.o):
In function `virNetTLSContextCheckCertBasicConstraints':
/u/veillard/libvirt/src/rpc/virnettlscontext.c:149: undefined reference
to `gnutls_x509_crt_get_basic_constraints'
collect2: ld returned 1 exit status
Maybe we should check for that specific entry point in configure and
disable that part of the cert checking if not available,
opinion ?
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel veillard com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]