aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gssapi.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/gssapi.c b/gssapi.c
index f769cc81..65582e52 100644
--- a/gssapi.c
+++ b/gssapi.c
@@ -178,11 +178,14 @@ int do_gssauth(int sock, const char *command, const char *service,
if (maj_stat!=GSS_S_COMPLETE && maj_stat!=GSS_S_CONTINUE_NEEDED) {
decode_status("gss_init_sec_context", maj_stat, min_stat);
(void)gss_release_name(&min_stat, &target_name);
- report(stderr, GT_("Error exchanging credentials\n"));
/* wake up server and await NO response */
- SockWrite(sock, "\r\n", 2);
+ suppress_tags = TRUE;
+ gen_send(sock, "");
+ suppress_tags = FALSE;
+
result = gen_recv(sock, buf1, sizeof buf1);
+ report(stderr, GT_("Error exchanging credentials\n"));
if (result)
return result;
return PS_AUTHFAIL;