On 12/16/2010 04:21 AM, Daniel P. Berrange wrote:
This extends the basic virNetSocket APIs to allow them to have
a handle to the TLS/SASL session objects, once established.
This ensures that any data reads/writes are automagically
passed through the TLS/SASL encryption layers if required.
* src/rpc/virnetsocket.c, src/rpc/virnetsocket.h: Wire up
SASL/TLS encryption
---
src/rpc/virnetsocket.c | 211 +++++++++++++++++++++++++++++++++++++++++++++++-
src/rpc/virnetsocket.h | 7 ++
2 files changed, 216 insertions(+), 2 deletions(-)
Cool! We have to resolve the parent commits before this can be pushed,
but I didn't spot any obvious flaws.
--
Eric Blake eblake(a)redhat.com +1-801-349-2682
Libvirt virtualization library
http://libvirt.org