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.
This commit is contained in:
Alastair Poole 2018-06-20 15:24:02 +01:00
parent d1cbd161bd
commit 271113de0b
1 changed files with 8 additions and 0 deletions

View File

@ -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() \