]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
Refactor the certification validation code
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 20 Jul 2011 14:18:51 +0000 (15:18 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Fri, 22 Jul 2011 11:04:47 +0000 (12:04 +0100)
commit637711cbdfb83b915eefb0178135244f7d96fe47
treed8110652283b0ef77d9cb460550bbaba3734fef9
parent3b8061c759bae43a58e89d5fdfe13ef676226414
Refactor the certification validation code

There is some commonality between the code for sanity checking
certs when initializing libvirt and the code for validating
certs during a live TLS session handshake. This patchset splits
up the sanity checking function into several smaller functions
each doing a specific type of check. The cert validation code
is then updated to also call into these functions

* src/rpc/virnettlscontext.c: Refactor cert validation code
src/rpc/virnettlscontext.c