raster pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=cbf5e0ef1de82b8dfa89cd4812830b08378723f1

commit cbf5e0ef1de82b8dfa89cd4812830b08378723f1
Author: Carsten Haitzler (Rasterman) <[email protected]>
Date:   Wed Aug 27 16:25:51 2014 +0900

    ecore-con - check return of ecore con ssl init
    
    check return of ssl init for server connection
    
    fixes CID 1039700
---
 src/lib/ecore_con/ecore_con_local.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/lib/ecore_con/ecore_con_local.c 
b/src/lib/ecore_con/ecore_con_local.c
index 35a98b4..d24bfed 100644
--- a/src/lib/ecore_con/ecore_con_local.c
+++ b/src/lib/ecore_con/ecore_con_local.c
@@ -183,7 +183,9 @@ ecore_con_local_connect(Ecore_Con_Server *obj,
      return 0;
 
    if (svr->type & ECORE_CON_SSL)
-     ecore_con_ssl_server_init(obj);
+     {
+        if (!ecore_con_ssl_server_init(obj)) ERR("Can't init SSL");
+     }
 
    svr->fd_handler =
      ecore_main_fd_handler_add(svr->fd, ECORE_FD_READ,

-- 


Reply via email to