Fix kvirc FTBFS under oneiric

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kvirc@1259272 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru v3.5.13
tpearson 13 years ago
parent 10ff1b477b
commit b924406905

@ -472,7 +472,7 @@ KviSSLCertificate * KviSSL::getPeerCertificate()
KviSSLCipherInfo * KviSSL::getCurrentCipherInfo() KviSSLCipherInfo * KviSSL::getCurrentCipherInfo()
{ {
if(!m_pSSL)return 0; if(!m_pSSL)return 0;
SSL_CIPHER * c = SSL_get_current_cipher(m_pSSL); SSL_CIPHER * c = const_cast<SSL_CIPHER *>(SSL_get_current_cipher(m_pSSL));
if(!c)return 0; if(!c)return 0;
return new KviSSLCipherInfo(c); return new KviSSLCipherInfo(c);
} }

Loading…
Cancel
Save