mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Certificates
- Added feedback from GnuTLS to the handshake diagnistic message.
This commit is contained in:
parent
1725460728
commit
b77ac4114c
1 changed files with 5 additions and 1 deletions
|
@ -242,7 +242,11 @@ void TLSClient::connect (const std::string& host, const std::string& port)
|
|||
throw format (STRING_CMD_SYNC_HANDSHAKE, gnutls_strerror (ret));
|
||||
|
||||
if (_debug)
|
||||
std::cout << "c: INFO Handshake was completed\n";
|
||||
{
|
||||
char* desc = gnutls_session_get_desc (_session);
|
||||
std::cout << "c: INFO Handshake was completed: " << desc << "\n";
|
||||
gnutls_free (desc);
|
||||
}
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue