From f56e01d200b8d94f5491a6b271f3e806939b6f3d Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 16 Jul 2017 07:24:50 +0200 Subject: [PATCH] #414: fixed compiler error when building using GnuTLS --- daemon/connect/TlsSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git daemon/connect/TlsSocket.cpp daemon/connect/TlsSocket.cpp index ac936972..bb0f2131 100644 --- daemon/connect/TlsSocket.cpp +++ daemon/connect/TlsSocket.cpp @@ -515,7 +515,7 @@ bool TlsSocket::ValidateCert() } gnutls_datum_t msgdata; - if (gnutls_certificate-verification_status_print(status, GNUTLS_CRT_X509, &msgdata, 0) == 0) + if (gnutls_certificate_verification_status_print(status, GNUTLS_CRT_X509, &msgdata, 0) == 0) { PrintError(BString<1024>("TLS certificate verification failed for %s: %s." " For more info visit http://nzbget.net/certificate-verification", *m_host, msgdata.data));