forked from enlightenment/efl
ecore_con: do proper version test for TLS_method.
This commit is contained in:
parent
5a1e954a13
commit
afa0c52351
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue