summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/tqca-tls/qca-tls-1.0-ossl10.patch
blob: 7b2406f61b6f643a6bdbd3598cc4ccb2e6c520d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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;