diff options
author | Cedric BAIL <cedric.bail@samsung.com> | 2015-01-26 15:48:53 +0100 |
---|---|---|
committer | Cedric BAIL <cedric@osg.samsung.com> | 2015-02-16 14:47:48 +0100 |
commit | 746336538d844ed6d6e25069942693b35d277ad5 (patch) | |
tree | 14aa289c7be0bd3f6675cae70c73cc12592a44d0 | |
parent | d1013c2abb733e91afc3e5182afc20cb594ab08b (diff) | |
download | efl-746336538d844ed6d6e25069942693b35d277ad5.tar.gz |
ecore_con: initialize emile cipher support on demand.
-rw-r--r-- | src/lib/ecore_con/ecore_con_ssl.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ecore_con/ecore_con_ssl.c b/src/lib/ecore_con/ecore_con_ssl.c index 6e669ced9c..7e416ec8ee 100644 --- a/src/lib/ecore_con/ecore_con_ssl.c +++ b/src/lib/ecore_con/ecore_con_ssl.c @@ -494,6 +494,9 @@ ecore_con_ssl_server_prepare(Ecore_Con_Server *svr, { if (!ssl_type) return ECORE_CON_SSL_ERROR_NONE; + if (!emile_cipher_init()) + return ECORE_CON_SSL_ERROR_SERVER_INIT_FAILED; + return SSL_SUFFIX(_ecore_con_ssl_server_prepare) (svr, ssl_type); } |