summaryrefslogtreecommitdiff
blob: 19ef703d740c2debfd26d8897f18b685fdda1838 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- libtclink/tclinkc.c
+++ libtclink/tclinkc.c
@@ -78,7 +78,11 @@
 
 	/* SSL encryption */
 	X509 *tc_cert;
+	#if OPENSSL_VERSION_NUMBER >= 0x10000000L
+	const SSL_METHOD *meth;
+	#else
 	SSL_METHOD *meth;
+	#endif
 	SSL_CTX *ctx;
 	SSL *ssl;