mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-27 00:57:19 +02:00
TLSClient: Improved C++ core guidelines
This commit is contained in:
parent
1772cc0ae9
commit
54c0717cdb
2 changed files with 13 additions and 28 deletions
|
@ -66,21 +66,6 @@ static int verify_certificate_callback (gnutls_session_t session)
|
|||
return client->verify_certificate ();
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
TLSClient::TLSClient ()
|
||||
: _ca ("")
|
||||
, _cert ("")
|
||||
, _key ("")
|
||||
, _host ("")
|
||||
, _port ("")
|
||||
, _session(0)
|
||||
, _socket (0)
|
||||
, _limit (0)
|
||||
, _debug (false)
|
||||
, _trust(strict)
|
||||
{
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
TLSClient::~TLSClient ()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue