summaryrefslogtreecommitdiffstats
path: root/redhat/tdebase/r1201705.diff
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/tdebase/r1201705.diff
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/tdebase/r1201705.diff')
-rw-r--r--redhat/tdebase/r1201705.diff43
1 files changed, 43 insertions, 0 deletions
diff --git a/redhat/tdebase/r1201705.diff b/redhat/tdebase/r1201705.diff
new file mode 100644
index 000000000..c7dff1e6e
--- /dev/null
+++ b/redhat/tdebase/r1201705.diff
@@ -0,0 +1,43 @@
+Index: kdebase/kcontrol/crypto/crypto.cpp
+===================================================================
+--- kdebase/kcontrol/crypto/crypto.cpp (revision 1201704)
++++ kdebase/kcontrol/crypto/crypto.cpp (revision 1201705)
+@@ -2316,12 +2316,19 @@
+
+
+ #ifdef HAVE_SSL
++
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++#define SSL_CONST const
++#else
++#define SSL_CONST
++#endif
++
+ // This gets all the available ciphers from OpenSSL
+ bool KCryptoConfig::loadCiphers() {
+ unsigned int i;
+ SSL_CTX *ctx;
+ SSL *ssl;
+-const SSL_METHOD *meth;
++SSL_CONST SSL_METHOD *meth;
+
+ SSLv2Box->clear();
+ SSLv3Box->clear();
+@@ -2337,7 +2344,7 @@
+ CipherItem *item;
+ for (i=0; ; i++) {
+ int j, k;
+- const SSL_CIPHER *sc;
++ SSL_CONST SSL_CIPHER *sc;
+ sc = (meth->get_cipher)(i);
+ if (!sc)
+ break;
+@@ -2365,7 +2372,7 @@
+
+ for (i=0; ; i++) {
+ int j, k;
+- const SSL_CIPHER *sc;
++ SSL_CONST SSL_CIPHER *sc;
+ sc = (meth->get_cipher)(i);
+ if (!sc)
+ break;