netstar pushed a commit to branch master.

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

commit 271113de0bced1996194666dfaa95914990a721f
Author: Alastair Poole <[email protected]>
Date:   Wed Jun 20 15:24:02 2018 +0100

    ecore_con: FreeBSD 11.2 not providing TLS generic methods.
    
    On some systems the TLS_client/server_method() is not available.
    Using fallback. In time as openssl changes propagate this really
    shouldn't be necessary.
---
 src/lib/ecore_con/efl_net_ssl_ctx-openssl.c | 8 ++++++++
 1 file changed, 8 insertions(+)

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 1e3e14c2de..b6774e0388 100644
--- a/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c
+++ b/src/lib/ecore_con/efl_net_ssl_ctx-openssl.c
@@ -9,6 +9,14 @@ struct _Efl_Net_Ssl_Ctx
    Eina_Bool is_dialer;
 };
 
+#ifndef TLS_server_method
+# define TLS_server_method TLSv1_2_server_method
+#endif
+
+#ifndef TLS_client_method
+# define TLS_client_method TLSv1_2_client_method
+#endif
+
 #define EFL_NET_SSL_CONTEXT_CIPHERS 
"aRSA+HIGH:+kEDH:+kRSA:!kSRP:!kPSK:+3DES:!MD5"
 
 #define _efl_net_ssl_ctx_check_errors() \

-- 


Reply via email to