fix for people who compile without ssl/tls support
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Jul 2010 19:58:57 +0000 (19:58 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Jul 2010 19:58:57 +0000 (19:58 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50611 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_ssl.c

index 5439798..7dff9f4 100644 (file)
@@ -1118,6 +1118,12 @@ _ecore_con_ssl_server_init_none(Ecore_Con_Server *svr)
    return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
 }
 
+static Eina_Bool
+_ecore_con_ssl_server_cert_add_none(const char *cert_file)
+{
+   return EINA_TRUE;
+}
+
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_server_shutdown_none(Ecore_Con_Server *svr)
 {
@@ -1160,6 +1166,14 @@ _ecore_con_ssl_client_init_none(Ecore_Con_Client *cl)
    return ECORE_CON_SSL_ERROR_NOT_SUPPORTED;
 }
 
+static Eina_Bool
+_ecore_con_ssl_client_cert_add_none(const char *cert_file,
+                                      const char *crl_file,
+                                                    const char *key_file)
+{
+         return EINA_TRUE;
+}
+
 static Ecore_Con_Ssl_Error
 _ecore_con_ssl_client_shutdown_none(Ecore_Con_Client *cl)
 {