From: Zdeněk Salvet Date: Tue, 16 Oct 2007 10:47:55 +0000 (+0000) Subject: Revert changes for pure SSL compatibility (sending close notify alerts) X-Git-Tag: glite-security-gsoap-plugin_R_1_5_2_1~1 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=22dc47dbdcd82851bebe9ed8503f6f8a5a19451c;p=jra1mw.git Revert changes for pure SSL compatibility (sending close notify alerts) in edg_wll_gss_close() till incorrect use of timeout parameter in various callers is corrected. --- diff --git a/org.glite.security.gsoap-plugin/src/glite_gss.c b/org.glite.security.gsoap-plugin/src/glite_gss.c index 970f1af..bef5176 100644 --- a/org.glite.security.gsoap-plugin/src/glite_gss.c +++ b/org.glite.security.gsoap-plugin/src/glite_gss.c @@ -978,12 +978,15 @@ edg_wll_gss_close(edg_wll_GssConnection *con, struct timeval *timeout) if (con->context != GSS_C_NO_CONTEXT) { gss_delete_sec_context(&min_stat, &con->context, &output_token); + +#if 0 /* send the buffer (if any) to the peer. GSSAPI specs doesn't * recommend sending it, but we want SSL compatibility */ if (output_token.length && con->sock>=0) { send_token(con->sock, output_token.value, output_token.length, timeout ? timeout : &def_timeout); } +#endif gss_release_buffer(&min_stat, &output_token); /* XXX can socket be open even if context == GSS_C_NO_CONTEXT) ? */