From cc75e0c35b2d4476293b1841df10b5fac8fab36e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Tue, 3 Jun 2008 12:54:25 +0000 Subject: [PATCH] Correct interpetation of the HERROR type error from gss. --- org.glite.security.gsoap-plugin/src/glite_gsplugin.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 1.8.2.3