mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TLS Errors
- Added TLS error to output during client init.
This commit is contained in:
parent
b367041a36
commit
01d96c25c4
7 changed files with 7 additions and 7 deletions
|
@ -257,7 +257,7 @@ void TLSClient::connect (const std::string& host, const std::string& port)
|
|||
{
|
||||
if (_debug)
|
||||
std::cout << "c: ERROR Certificate verification failed.\n";
|
||||
throw std::string (STRING_TLS_INIT_FAIL);
|
||||
throw format (STRING_TLS_INIT_FAIL, gnutls_strerror (ret));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue