diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index f42a20b51..fd1e8dba4 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -36,10 +36,9 @@ #include #include #include -#include +#include #include #include -#include #include #include #include @@ -90,6 +89,8 @@ static int verify_certificate_callback (gnutls_session_t session) //////////////////////////////////////////////////////////////////////////////// TLSClient::TLSClient () : _ca ("") +, _cert ("") +, _key ("") , _socket (0) , _limit (0) , _debug (false) diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 4d7daae20..153f7d9a8 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -330,7 +330,6 @@ bool CmdSync::send ( try { - // A very basic TLS client, with X.509 authentication. TLSClient client; client.debug (context.config.getInteger ("debug.tls")); client.trust (trust);