Re: [PATCH] Fix import of private key with older gnutls

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

 



On 07/25/2011 11:59 AM, Matthias Bolte wrote:
2011/7/25 Daniel P. Berrange<berrange@xxxxxxxxxx>:
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
---
  tests/virnettlscontexttest.c |   47 ++++++++++++++++++++++++-----------------
  1 files changed, 27 insertions(+), 20 deletions(-)

ACK, this makes virnettlscontexttest pass for me with gnutls 2.8.6.

Likewise, so I've pushed the patch.  Thanks for tracking this down.

--
Eric Blake   eblake@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]