netstar pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=afa0c523512666331c1b26a2d6728c8f65b390b8

commit afa0c523512666331c1b26a2d6728c8f65b390b8
Author: Alastair Poole <[email protected]>
Date:   Thu Jun 21 10:22:08 2018 +0100

    ecore_con: do proper version test for TLS_method.
---
 src/lib/ecore_con/efl_net_ssl_ctx-openssl.c | 5 +----
 1 file changed, 1 insertion(+), 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
    Eina_Bool is_dialer;
 };
 
-#ifndef TLS_server_method
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
 # define TLS_server_method TLSv1_2_server_method
-#endif
-
-#ifndef TLS_client_method
 # define TLS_client_method TLSv1_2_client_method
 #endif
 

-- 


Reply via email to