mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
TLS: Fixed version conditional
- The call to gnutls_certificate_verification_status_print was protected by an #ifdef which had the wrong GnuTLS version number.
This commit is contained in:
parent
caa8c8e884
commit
75775786e6
1 changed files with 1 additions and 1 deletions
|
@ -365,7 +365,7 @@ int TLSClient::verify_certificate () const
|
|||
}
|
||||
#endif
|
||||
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x030105
|
||||
#if GNUTLS_VERSION_NUMBER >= 0x030104
|
||||
gnutls_certificate_type_t type = gnutls_certificate_type_get (_session);
|
||||
gnutls_datum_t out;
|
||||
ret = gnutls_certificate_verification_status_print (status, type, &out, 0);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue