From 7344f33c4166ecd2a96147e56b5e5f7e5614d106 Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 28 Nov 2010 00:25:11 +0000 Subject: [kdebase/kcontrol] fix for openssl 1.0 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1201523 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/crypto/crypto.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kcontrol/crypto/crypto.cpp') diff --git a/kcontrol/crypto/crypto.cpp b/kcontrol/crypto/crypto.cpp index 3f021285b..ae3f9e0ca 100644 --- a/kcontrol/crypto/crypto.cpp +++ b/kcontrol/crypto/crypto.cpp @@ -2321,7 +2321,7 @@ bool KCryptoConfig::loadCiphers() { unsigned int i; SSL_CTX *ctx; SSL *ssl; -SSL_METHOD *meth; +const SSL_METHOD *meth; SSLv2Box->clear(); SSLv3Box->clear(); @@ -2337,7 +2337,7 @@ SSL_METHOD *meth; CipherItem *item; for (i=0; ; i++) { int j, k; - SSL_CIPHER *sc; + const SSL_CIPHER *sc; sc = (meth->get_cipher)(i); if (!sc) break; @@ -2365,7 +2365,7 @@ SSL_METHOD *meth; for (i=0; ; i++) { int j, k; - SSL_CIPHER *sc; + const SSL_CIPHER *sc; sc = (meth->get_cipher)(i); if (!sc) break; -- cgit v1.2.1