ecore_con: do proper version test for TLS_method.

This commit is contained in:
Alastair Poole 2018-06-21 10:22:08 +01:00
parent 5a1e954a13
commit afa0c52351
1 changed files with 1 additions and 4 deletions

View File

@ -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