summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch
diff options
context:
space:
mode:
Diffstat (limited to 'redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch')
-rw-r--r--redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch b/redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch
new file mode 100644
index 000000000..7b2406f61
--- /dev/null
+++ b/redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch
@@ -0,0 +1,15 @@
+diff -up qca-tls-1.0/qca-tls.cpp.ossl10 qca-tls-1.0/qca-tls.cpp
+--- qca-tls-1.0/qca-tls.cpp.ossl10 2009-08-26 10:08:36.000000000 +0200
++++ qca-tls-1.0/qca-tls.cpp 2009-08-26 10:11:57.000000000 +0200
+@@ -953,7 +953,11 @@ public:
+ RSAKeyContext *key;
+
+ SSL *ssl;
++#if OPENSSL_VERSION_NUMBER >= 0x10000000L
++ const SSL_METHOD *method;
++#else
+ SSL_METHOD *method;
++#endif
+ SSL_CTX *context;
+ BIO *rbio, *wbio;
+ CertContext cc;