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@xxxxxxxxxxxx | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/ -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list