set GnuTLS credentials for DTLSClientSession

This commit is contained in:
Stephen Birarda 2014-04-01 16:51:05 -07:00
parent b5b4edc999
commit 632dc6b8e4

View file

@ -11,5 +11,5 @@
DTLSClientSession::DTLSClientSession(QUdpSocket& dtlsSocket, HifiSockAddr& destinationSocket) :
DTLSSession(GNUTLS_CLIENT, dtlsSocket, destinationSocket)
{
gnutls_credentials_set(_gnutlsSession, GNUTLS_CRD_CERTIFICATE, DTLSSession::x509CACredentials());
}