summaryrefslogtreecommitdiff
path: root/src/lib/ecore_con
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2015-03-17 08:50:04 +0100
committerCedric BAIL <cedric@osg.samsung.com>2015-03-17 09:58:17 +0100
commit2913e8c64efda15579b31021e3e91fc1c8ec7507 (patch)
treeca7bf38353765f4dcf7d1adb042945908274be8a /src/lib/ecore_con
parent32c5f691c89c84c522c606feed58f02eebd81c6b (diff)
ecore_con: initialize emile cipher support on demand.
Diffstat (limited to 'src/lib/ecore_con')
-rw-r--r--src/lib/ecore_con/ecore_con_ssl.c3
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 33fb0ad315..c52567beaf 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,
494{ 494{
495 if (!ssl_type) 495 if (!ssl_type)
496 return ECORE_CON_SSL_ERROR_NONE; 496 return ECORE_CON_SSL_ERROR_NONE;
497 if (!emile_cipher_init())
498 return ECORE_CON_SSL_ERROR_SERVER_INIT_FAILED;
499
497 return SSL_SUFFIX(_ecore_con_ssl_server_prepare) (svr, ssl_type); 500 return SSL_SUFFIX(_ecore_con_ssl_server_prepare) (svr, ssl_type);
498} 501}
499 502