diff options
Diffstat (limited to 'src/kvilib')
-rw-r--r-- | src/kvilib/net/kvi_ssl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kvilib/net/kvi_ssl.cpp b/src/kvilib/net/kvi_ssl.cpp index 586f7fb4..3a72b6f2 100644 --- a/src/kvilib/net/kvi_ssl.cpp +++ b/src/kvilib/net/kvi_ssl.cpp @@ -472,7 +472,7 @@ KviSSLCertificate * KviSSL::getPeerCertificate() KviSSLCipherInfo * KviSSL::getCurrentCipherInfo() { 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; return new KviSSLCipherInfo(c); } |