summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorAlastair Poole <netstar@gmail.com>2018-06-20 15:24:02 +0100
committerAlastair Poole <netstar@gmail.com>2018-06-20 15:24:02 +0100
commit271113de0bced1996194666dfaa95914990a721f (patch)
tree9f29ac549d4a492207b247618a603cce57950b10 /src/lib/ecore_con
parentd1cbd161bdf1bcb9c0c8429210647245a31559a4 (diff)
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.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/efl_net_ssl_ctx-openssl.c8
1 files changed, 8 insertions, 0 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 1e3e14c..b6774e0 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
9 Eina_Bool is_dialer; 9 Eina_Bool is_dialer;
10}; 10};
11 11
12#ifndef TLS_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
18#endif
19
12#define EFL_NET_SSL_CONTEXT_CIPHERS "aRSA+HIGH:+kEDH:+kRSA:!kSRP:!kPSK:+3DES:!MD5" 20#define EFL_NET_SSL_CONTEXT_CIPHERS "aRSA+HIGH:+kEDH:+kRSA:!kSRP:!kPSK:+3DES:!MD5"
13 21
14#define _efl_net_ssl_ctx_check_errors() \ 22#define _efl_net_ssl_ctx_check_errors() \