From 8a1d6770aed1438494b96d197f4b6899b4c15cc3 Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 29 Jul 2010 01:28:03 +0000 Subject: [PATCH] redo some comments git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@50628 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/ecore_con/ecore_con_ssl.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/src/lib/ecore_con/ecore_con_ssl.c b/src/lib/ecore_con/ecore_con_ssl.c index 616ab9f..9912a56 100644 --- a/src/lib/ecore_con/ecore_con_ssl.c +++ b/src/lib/ecore_con/ecore_con_ssl.c @@ -257,6 +257,10 @@ _ecore_con_ssl_server_prepare_gnutls(Ecore_Con_Server *svr) return; } +/* Tries to connect an Ecore_Con_Server to an SSL host. + * Returns 1 on success, -1 on fatal errors and 0 if the caller + * should try again later. + */ static Ecore_Con_Ssl_Error _ecore_con_ssl_server_init_gnutls(Ecore_Con_Server *svr) { @@ -376,10 +380,7 @@ _ecore_con_ssl_server_shutdown_gnutls(Ecore_Con_Server *svr) return ECORE_CON_SSL_ERROR_NONE; } -/* Tries to connect an Ecore_Con_Server to an SSL host. - * Returns 1 on success, -1 on fatal errors and 0 if the caller - * should try again later. - */ +/* this is a stub function, the handshake is done in _init_gnutls */ static Ecore_Con_State _ecore_con_ssl_server_try_gnutls(Ecore_Con_Server *svr __UNUSED__) { -- 2.7.4