ecore_con: initialize emile cipher support on demand.

This commit is contained in:
Cedric BAIL 2015-03-17 08:50:04 +01:00 committed by Cedric BAIL
parent 32c5f691c8
commit 2913e8c64e
1 changed files with 3 additions and 0 deletions

View File

@ -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);
}