diff options
author | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-11-28 00:25:11 +0000 |
---|---|---|
committer | samelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-11-28 00:25:11 +0000 |
commit | 7344f33c4166ecd2a96147e56b5e5f7e5614d106 (patch) | |
tree | 09174a8544740c56ad95eea2b2f28a24845f0133 | |
parent | 3aa992b710b6e2761d333dddb63e159d78137d4d (diff) | |
download | tdebase-7344f33c4166ecd2a96147e56b5e5f7e5614d106.tar.gz tdebase-7344f33c4166ecd2a96147e56b5e5f7e5614d106.zip |
[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
-rw-r--r-- | kcontrol/crypto/crypto.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |