From 5debcfccfa2bae409de6ec9bcdf8f69632355fae Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Thu, 19 Aug 2010 07:50:15 +0000 Subject: [PATCH] Fixed pointer-type argument for gnutls_credentials_set (thanks to Mike Smellie). --- src/net/tls/TLSSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/net/tls/TLSSession.cpp b/src/net/tls/TLSSession.cpp index cb5351ad..010c0071 100644 --- a/src/net/tls/TLSSession.cpp +++ b/src/net/tls/TLSSession.cpp @@ -199,10 +199,10 @@ TLSSession::TLSSession(ref cv) // Initialize credentials gnutls_credentials_set(*m_gnutlsSession, - GNUTLS_CRD_ANON, &g_gnutlsGlobal.anonCred); + GNUTLS_CRD_ANON, g_gnutlsGlobal.anonCred); gnutls_credentials_set(*m_gnutlsSession, - GNUTLS_CRD_CERTIFICATE, &g_gnutlsGlobal.certCred); + GNUTLS_CRD_CERTIFICATE, g_gnutlsGlobal.certCred); }