From: František Dvořák Date: Tue, 3 Jun 2008 12:54:25 +0000 (+0000) Subject: Correct interpetation of the HERROR type error from gss. X-Git-Tag: glite-security-gsoap-plugin_R_1_5_4_1~2 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=cc75e0c35b2d4476293b1841df10b5fac8fab36e;p=jra1mw.git Correct interpetation of the HERROR type error from gss. --- diff --git a/org.glite.security.gsoap-plugin/src/glite_gsplugin.c b/org.glite.security.gsoap-plugin/src/glite_gsplugin.c index 30d5496..4456b73 100644 --- a/org.glite.security.gsoap-plugin/src/glite_gsplugin.c +++ b/org.glite.security.gsoap-plugin/src/glite_gsplugin.c @@ -280,6 +280,9 @@ err: soap_set_sender_error(soap, "SSL error", "SSL authentication failed in tcp_connect(): check password, key file, and ca file.", SOAP_SSL_ERROR); break; case EDG_WLL_GSS_ERROR_HERRNO: + ret = h_errno; + soap_set_sender_error(soap, "connection error", hstrerror(ret), SOAP_CLI_FAULT); + break; case EDG_WLL_GSS_ERROR_ERRNO: ret = errno; soap_set_sender_error(soap, "connection error", strerror(ret), SOAP_CLI_FAULT);