mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TLS: Diagnostics
- When a certificate fails validation, display the full set of reasons, in debug mode.
This commit is contained in:
parent
75775786e6
commit
5f9a543b1b
1 changed files with 2 additions and 0 deletions
|
@ -376,6 +376,8 @@ int TLSClient::verify_certificate () const
|
||||||
return GNUTLS_E_CERTIFICATE_ERROR;
|
return GNUTLS_E_CERTIFICATE_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (_debug)
|
||||||
|
std::cout << "c: INFO " << out.data << "\n";
|
||||||
gnutls_free (out.data);
|
gnutls_free (out.data);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue