summaryrefslogtreecommitdiffstats
path: root/kftpgrabber/src/engine/ssl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kftpgrabber/src/engine/ssl.cpp')
-rw-r--r--kftpgrabber/src/engine/ssl.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/kftpgrabber/src/engine/ssl.cpp b/kftpgrabber/src/engine/ssl.cpp
index 92418bb..c0a0109 100644
--- a/kftpgrabber/src/engine/ssl.cpp
+++ b/kftpgrabber/src/engine/ssl.cpp
@@ -169,7 +169,11 @@ bool Ssl::setClientCertificate(KSSLPKCS12 *pkcs)
void Ssl::setConnectionInfo()
{
+#if defined(OPENSSL_VERSION_NUMBER) && (OPENSSL_VERSION_NUMBER >= 0x10000000)
+ const SSL_CIPHER *cipher;
+#else
SSL_CIPHER *cipher;
+#endif
char buffer[1024];
buffer[0] = 0;