]> andersk Git - gssapi-openssh.git/commitdiff
on receipt of SSH2_MSG_KEXGSS_ERROR, exit with fatal() error message rather
authorjbasney <jbasney>
Sat, 17 Jan 2004 05:36:33 +0000 (05:36 +0000)
committerjbasney <jbasney>
Sat, 17 Jan 2004 05:36:33 +0000 (05:36 +0000)
than falling through to misleading "Protocol error" message

openssh/kexgssc.c

index 52b569f62febe5cb19ddb33ce8c95998c8e0df45..9b6e0b74c428e7cb53fb54962fc9db126efe7f3c 100644 (file)
@@ -177,7 +177,7 @@ kexgss_client(Kex *kex)
                                min_status=packet_get_int();
                                msg=packet_get_string(NULL);
                                lang=packet_get_string(NULL);
-                               fprintf(stderr,"GSSAPI Error: \n%s",msg);
+                               fatal("GSSAPI Key Exchange Error: \n%s",msg);
                        default:
                                packet_disconnect("Protocol error: didn't expect packet type %d",
                                type);
This page took 0.285302 seconds and 5 git commands to generate.