projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ea622f
)
ecore_con: FreeBSD 11.2 not providing TLS generic methods.
author
Alastair Poole
<netstar@gmail.com>
Wed, 20 Jun 2018 14:24:02 +0000
(15:24 +0100)
committer
Jongmin Lee
<jm105.lee@samsung.com>
Wed, 20 Jun 2018 21:32:47 +0000
(06:32 +0900)
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
patch
|
blob
|
history
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
(file)
--- 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() \