Fixed pointer-type argument for gnutls_credentials_set (thanks to Mike Smellie).
This commit is contained in:
parent
d252ccf097
commit
5debcfccfa
@ -199,10 +199,10 @@ TLSSession::TLSSession(ref <security::cert::certificateVerifier> cv)
|
|||||||
|
|
||||||
// Initialize credentials
|
// Initialize credentials
|
||||||
gnutls_credentials_set(*m_gnutlsSession,
|
gnutls_credentials_set(*m_gnutlsSession,
|
||||||
GNUTLS_CRD_ANON, &g_gnutlsGlobal.anonCred);
|
GNUTLS_CRD_ANON, g_gnutlsGlobal.anonCred);
|
||||||
|
|
||||||
gnutls_credentials_set(*m_gnutlsSession,
|
gnutls_credentials_set(*m_gnutlsSession,
|
||||||
GNUTLS_CRD_CERTIFICATE, &g_gnutlsGlobal.certCred);
|
GNUTLS_CRD_CERTIFICATE, g_gnutlsGlobal.certCred);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user