[libvirt] [PATCH 04/10] Generic module for handling TLS encryption and x509 certs
Eric Blake
eblake at redhat.com
Thu Jun 23 23:09:11 UTC 2011
On 06/22/2011 09:33 AM, Daniel P. Berrange wrote:
> This provides two modules for handling TLS
>
> * virNetTLSContext provides the process-wide state, in particular
> all the x509 credentials, DH params and x509 whitelists
> * virNetTLSSession provides the per-connection state, ie the
> TLS session itself.
>
> The virNetTLSContext provides APIs for validating a TLS session's
> x509 credentials. The virNetTLSSession includes APIs for performing
> the initial TLS handshake and sending/recving encrypted data
>
> * src/Makefile.am: Add to libvirt-net-rpc.la
> * src/rpc/virnettlscontext.c, src/rpc/virnettlscontext.h: Generic
> TLS handling code
> +
> +int virNetTLSContextCheckCertificate(virNetTLSContextPtr ctxt,
> + virNetTLSSessionPtr sess) {
Style nit: function bodies start with { in column 1.
ACK with that fix.
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110623/6af0f0f1/attachment-0001.sig>
More information about the libvir-list
mailing list