TLS Errors

- Added TLS error to output during client init.
This commit is contained in:
Paul Beckingham 2014-09-15 17:02:52 -04:00
parent b367041a36
commit 01d96c25c4
7 changed files with 7 additions and 7 deletions

View file

@ -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