From 75775786e673df148f8b8333e88fe8e24ae0df7d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 26 Apr 2015 20:51:46 -0400 Subject: [PATCH] TLS: Fixed version conditional - The call to gnutls_certificate_verification_status_print was protected by an #ifdef which had the wrong GnuTLS version number. --- src/TLSClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp index 244d94bfd..96857d3d7 100644 --- a/src/TLSClient.cpp +++ b/src/TLSClient.cpp @@ -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);