From 11a63571bc2ac5790d6e349d742d87b48a781e41 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sat, 25 Sep 2010 17:24:57 +0200 Subject: Cancel SASL AUTH properly on GSSAPI errors. --- gssapi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gssapi.c') diff --git a/gssapi.c b/gssapi.c index 65582e52..67231505 100644 --- a/gssapi.c +++ b/gssapi.c @@ -179,9 +179,9 @@ int do_gssauth(int sock, const char *command, const char *service, decode_status("gss_init_sec_context", maj_stat, min_stat); (void)gss_release_name(&min_stat, &target_name); - /* wake up server and await NO response */ + /* wake up server and cancel authentication */ suppress_tags = TRUE; - gen_send(sock, ""); + gen_send(sock, "*"); suppress_tags = FALSE; result = gen_recv(sock, buf1, sizeof buf1); -- cgit v1.2.3