forked from enlightenment/efl
ecore_con: initialize emile cipher support on demand.
This commit is contained in:
parent
32c5f691c8
commit
2913e8c64e
|
@ -494,6 +494,9 @@ ecore_con_ssl_server_prepare(Ecore_Con_Server *svr,
|
||||||
{
|
{
|
||||||
if (!ssl_type)
|
if (!ssl_type)
|
||||||
return ECORE_CON_SSL_ERROR_NONE;
|
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);
|
return SSL_SUFFIX(_ecore_con_ssl_server_prepare) (svr, ssl_type);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue