hmmm actually this is probably the better way to fix it with maximum laziness
authordiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Oct 2010 20:52:36 +0000 (20:52 +0000)
committerdiscomfitor <discomfitor@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 27 Oct 2010 20:52:36 +0000 (20:52 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@53937 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_con/ecore_con_ssl.c

index 20ca2fd..15dfd38 100644 (file)
@@ -420,7 +420,7 @@ _ecore_con_ssl_server_prepare_gnutls(Ecore_Con_Server *svr, int ssl_type)
          break;
 
       default:
-         return ECORE_CON_SSL_ERROR_INIT_FAILED;
+         return ECORE_CON_SSL_ERROR_NONE;
      }
 
    SSL_ERROR_CHECK_GOTO_ERROR(ret = gnutls_certificate_allocate_credentials(&svr->cert));
@@ -970,7 +970,7 @@ _ecore_con_ssl_server_prepare_openssl(Ecore_Con_Server *svr, int ssl_type)
          break;
 
       default:
-         return ECORE_CON_SSL_ERROR_INIT_FAILED;
+         return ECORE_CON_SSL_ERROR_NONE;
      }
 
    if ((!svr->use_cert) && svr->created)