summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-06-21 10:22:08 +0100
committerAlastair Poole <netstar@gmail.com>2018-06-21 10:22:08 +0100
commitafa0c523512666331c1b26a2d6728c8f65b390b8 (patch)
treeaff5c9be0f61189f2a36c7ab456d2bc12efb8db5 /src/lib/ecore_con
parent5a1e954a137761680ff5b10288d78b154d012319 (diff)
ecore_con: do proper version test for TLS_method.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_ssl_ctx-openssl.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c b/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c
index b6774e0388..6efba8476f 100644
--- a/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c
+++ b/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c
@@ -9,11 +9,8 @@ struct _Efl_Net_Ssl_Ctx
9 Eina_Bool is_dialer; 9 Eina_Bool is_dialer;
10}; 10};
11 11
12#ifndef TLS_server_method 12#if OPENSSL_VERSION_NUMBER < 0x10100000L
13# define TLS_server_method TLSv1_2_server_method 13# define TLS_server_method TLSv1_2_server_method
14#endif
15
16#ifndef TLS_client_method
17# define TLS_client_method TLSv1_2_client_method 14# define TLS_client_method TLSv1_2_client_method
18#endif 15#endif
19 16