Fixed pointer-type argument for gnutls_credentials_set (thanks to Mike Smellie).

This commit is contained in:
Vincent Richard 2010-08-19 07:50:15 +00:00
parent d252ccf097
commit 5debcfccfa

View File

@ -199,10 +199,10 @@ TLSSession::TLSSession(ref <security::cert::certificateVerifier> 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);
}