[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: Matthias Bolte <matthias bolte googlemail 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: Mon, 25 Jul 2011 19:59:29 +0200
2011/7/25 Daniel P. Berrange <berrange redhat com>:
> 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.
--
Matthias Bolte
http://photron.blogspot.com
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]