From 22dc47dbdcd82851bebe9ed8503f6f8a5a19451c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Zden=C4=9Bk=20Salvet?= Date: Tue, 16 Oct 2007 10:47:55 +0000 Subject: [PATCH] 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. --- org.glite.security.gsoap-plugin/src/glite_gss.c | 3 +++ 1 file changed, 3 insertions(+) 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) ? */ -- 1.8.2.3