From d321e1e5268103af616ec4c623c6326c3f7c7bc7 Mon Sep 17 00:00:00 2001 From: "Daniel P. Berrange" Date: Mon, 2 Mar 2015 17:23:31 +0000 Subject: crypto: introduce new module for handling TLS sessions Introduce a QCryptoTLSSession object that will encapsulate all the code for setting up and using a client/sever TLS session. This isolates the code which depends on the gnutls library, avoiding #ifdefs in the rest of the codebase, as well as facilitating any possible future port to other TLS libraries, if desired. It makes use of the previously defined QCryptoTLSCreds object to access credentials to use with the session. It also includes further unit tests to validate the correctness of the TLS session handshake and certificate validation. This is functionally equivalent to the current TLS session handling code embedded in the VNC server, and will obsolete it. Signed-off-by: Daniel P. Berrange --- tests/.gitignore | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests/.gitignore') diff --git a/tests/.gitignore b/tests/.gitignore index 7b4ee238b7..2c5e2c31e4 100644 --- a/tests/.gitignore +++ b/tests/.gitignore @@ -15,6 +15,10 @@ test-crypto-hash test-crypto-tlscredsx509 test-crypto-tlscredsx509-work/ test-crypto-tlscredsx509-certs/ +test-crypto-tlssession +test-crypto-tlssession-work/ +test-crypto-tlssession-client/ +test-crypto-tlssession-server/ test-cutils test-hbitmap test-int128 -- cgit v1.2.3